Skip to content

Commit

Permalink
test(zone.js): update jest test code after upgrade to jest 29.0 (#47486)
Browse files Browse the repository at this point in the history
related to #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 #47486
  • Loading branch information
JiaLiPassion authored and pkozlowski-opensource committed Sep 20, 2022
1 parent d11b1d9 commit 59aa2c0
Show file tree
Hide file tree
Showing 5 changed files with 1,106 additions and 1,755 deletions.
4 changes: 3 additions & 1 deletion packages/zone.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"@externs/nodejs": "^1.5.0",
"@types/node": "^10.9.4",
"domino": "2.1.6",
"jest": "^26.4",
"google-closure-compiler": "^20220905.0.0",
"jest": "^29.0",
"jest-environment-jsdom": "^29.0.3",
"jest-environment-node": "^29.0.3",
"mocha": "^10.0.0",
"mock-require": "3.0.3",
"promises-aplus-tests": "^2.1.2",
Expand Down

0 comments on commit 59aa2c0

Please sign in to comment.