Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit 59aa2c0

Browse files
JiaLiPassionpkozlowski-opensource
authored andcommitted
test(zone.js): update jest test code after upgrade to jest 29.0 (angular#47486)
related to angular#47438 After jest 28, `jest-environment-node` and `jest-environment-jsdom` need to be installed by the user themselves, and the API has some breaking changes, so this PR fix these issues to make the zone/jest integration test code work as expected. PR Close angular#47486
1 parent d11b1d9 commit 59aa2c0

File tree

5 files changed

+1106
-1755
lines changed

5 files changed

+1106
-1755
lines changed

packages/zone.js/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
"@externs/nodejs": "^1.5.0",
1515
"@types/node": "^10.9.4",
1616
"domino": "2.1.6",
17-
"jest": "^26.4",
1817
"google-closure-compiler": "^20220905.0.0",
18+
"jest": "^29.0",
19+
"jest-environment-jsdom": "^29.0.3",
20+
"jest-environment-node": "^29.0.3",
1921
"mocha": "^10.0.0",
2022
"mock-require": "3.0.3",
2123
"promises-aplus-tests": "^2.1.2",

0 commit comments

Comments
 (0)