Skip to content

Commit

Permalink
feat: set Jest peer dependencies to v28 (#3454)
Browse files Browse the repository at this point in the history
BREAKING CHANGE
Jest 28 is required
  • Loading branch information
ahnpnl authored Apr 25, 2022
1 parent 6e44f82 commit 1e880ff
Show file tree
Hide file tree
Showing 17 changed files with 3,347 additions and 11,590 deletions.
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/const-enum.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`partial successfully runs the tests inside const-enum with 'isolatedMod
3 | const getTwo = (): string => HooConstEnum.two
4 |
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
PASS __tests__/import-from-d-ts-has-js.spec.ts
Expand Down
4 changes: 2 additions & 2 deletions e2e/__tests__/__snapshots__/enum.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`partial successfully runs the tests inside enum with 'isolatedModules:
3 | const getTwo = (): string => FooEnum.two
4 |
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
PASS __tests__/import-from-d-ts-has-js.spec.ts
Expand All @@ -45,7 +45,7 @@ exports[`partial successfully runs the tests inside enum with 'isolatedModules:
3 | const getTwo = (): string => FooEnum.two
4 |
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
PASS __tests__/import-from-d-ts-has-js.spec.ts
Expand Down
182 changes: 91 additions & 91 deletions e2e/transform-tsx/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/transform-tsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"jest-environment-jsdom": "28.0.0-alpha.11",
"jest-environment-jsdom": "^28.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
Loading

0 comments on commit 1e880ff

Please sign in to comment.