Use the correct context when re-using a cached NodePath (#12331)

This commit is contained in:
Nicolò Ribaudo
2020-11-10 15:03:21 +01:00
committed by GitHub
parent ddd868f838
commit 2984f0cb88
7 changed files with 40 additions and 4 deletions

View File

@@ -43,6 +43,10 @@ node "$PWD"/scripts/integration-tests/utils/bump-babel-dependencies.js
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
"
# https://github.com/babel/babel/pull/12331 - This test is fixed in @babel/traverse 7.12.7,
# so it will fail with older versions. We can disable it.
(cd packages/babel-plugin-transform-modules-systemjs/test/fixtures/regression/; mv issue-12329 .issue-12329)
# Update deps, build and test
rm yarn.lock
make -j test-ci