File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
scripts/integration-tests Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,16 @@ node "$PWD"/scripts/integration-tests/utils/bump-babel-dependencies.js
34
34
35
35
# Update deps, build and test
36
36
if [ " $BABEL_8_BREAKING " = true ] ; then
37
+ YARN_ENABLE_IMMUTABLE_INSTALLS=false make -j build-standalone-ci
38
+
37
39
# Jest hangs forever in the Babel 8 e2e test when using multiple workers,
38
40
# but we don't know yet why. Until we figure it out (see
39
41
# https://github.com/babel/babel/pull/13618) we can use --runInBand.
40
- YARN_ENABLE_IMMUTABLE_INSTALLS=false make -j build-standalone-ci
41
- BABEL_ENV=test yarn jest --ci --runInBand
42
+ # Additinally, in Babel 8 tests Jest needs to run with ESM support because
43
+ # @babel/eslint-parser/lib/worker/babel-core.cjs uses dynamic import() to
44
+ # load @babel/core.
45
+ NODE_OPTIONS=" --experimental-vm-modules" BABEL_ENV=test yarn jest --ci --runInBand
46
+
42
47
make -j test-clean
43
48
else
44
49
YARN_ENABLE_IMMUTABLE_INSTALLS=false make -j test-ci
You can’t perform that action at this time.
0 commit comments