Skip to content

Commit e03ec19

Browse files
authored
feat(config): load zone ESM when running jest in ESM mode (#892)
Closes #751
1 parent 7a6cb0a commit e03ec19

File tree

21 files changed

+15404
-11818
lines changed

21 files changed

+15404
-11818
lines changed

e2e/test-app-v10/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

e2e/test-app-v10/.yarn/releases/yarn-berry.cjs

Lines changed: 0 additions & 55 deletions
This file was deleted.

e2e/test-app-v10/.yarnrc.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

e2e/test-app-v10/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
8-
"test-cjs-uniso": "jest --clearCache && jest -c=jest-cjs-uniso.config.js",
9-
"test-cjs-iso": "jest --clearCache && jest -c=jest-cjs-iso.config.js",
10-
"test-esm-iso": "jest --clearCache && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-iso.config.js",
11-
"test-esm-uniso": "jest --clearCache && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-uniso.config.js"
8+
"pretest": "jest --clearCache",
9+
"test-cjs-uniso": "yarn pretest && jest -c=jest-cjs-uniso.config.js",
10+
"test-cjs-iso": "yarn pretest && jest -c=jest-cjs-iso.config.js",
11+
"test-esm-iso": "yarn pretest && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-iso.config.js",
12+
"test-esm-uniso": "yarn pretest && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-uniso.config.js"
1213
},
1314
"private": true,
1415
"dependencies": {

e2e/test-app-v11/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

e2e/test-app-v11/.yarn/releases/yarn-berry.cjs

Lines changed: 0 additions & 55 deletions
This file was deleted.

e2e/test-app-v11/.yarnrc.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

e2e/test-app-v11/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
8-
"test-cjs-uniso": "jest --clearCache && jest -c=jest-cjs-uniso.config.js",
9-
"test-cjs-iso": "jest --clearCache && jest -c=jest-cjs-iso.config.js",
10-
"test-esm-iso": "jest --clearCache && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-iso.config.js",
11-
"test-esm-uniso": "jest --clearCache && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-uniso.config.js"
8+
"pretest": "jest --clearCache",
9+
"test-cjs-uniso": "yarn pretest && jest -c=jest-cjs-uniso.config.js",
10+
"test-cjs-iso": "yarn pretest && jest -c=jest-cjs-iso.config.js",
11+
"test-esm-iso": "yarn pretest && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-iso.config.js",
12+
"test-esm-uniso": "yarn pretest && node --experimental-vm-modules ../../node_modules/jest/bin/jest.js -c=jest-esm-uniso.config.js"
1213
},
1314
"private": true,
1415
"dependencies": {

e2e/test-app-v9/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

e2e/test-app-v9/.yarn/releases/yarn-berry.cjs

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)