Skip to content

Commit 1e880ff

Browse files
authored
feat: set Jest peer dependencies to v28 (#3454)
BREAKING CHANGE Jest 28 is required
1 parent 6e44f82 commit 1e880ff

File tree

17 files changed

+3347
-11590
lines changed

17 files changed

+3347
-11590
lines changed

e2e/__tests__/__snapshots__/const-enum.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports[`partial successfully runs the tests inside const-enum with 'isolatedMod
1919
3 | const getTwo = (): string => HooConstEnum.two
2020
4 |
2121
22-
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
22+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
2323
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
2424
2525
PASS __tests__/import-from-d-ts-has-js.spec.ts

e2e/__tests__/__snapshots__/enum.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports[`partial successfully runs the tests inside enum with 'isolatedModules:
1919
3 | const getTwo = (): string => FooEnum.two
2020
4 |
2121
22-
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
22+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
2323
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
2424
2525
PASS __tests__/import-from-d-ts-has-js.spec.ts
@@ -45,7 +45,7 @@ exports[`partial successfully runs the tests inside enum with 'isolatedModules:
4545
3 | const getTwo = (): string => FooEnum.two
4646
4 |
4747
48-
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
48+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:491:11)
4949
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
5050
5151
PASS __tests__/import-from-d-ts-has-js.spec.ts

e2e/transform-tsx/package-lock.json

Lines changed: 91 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/transform-tsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"jest-environment-jsdom": "28.0.0-alpha.11",
3+
"jest-environment-jsdom": "^28.0.0",
44
"react": "^17.0.2",
55
"react-dom": "^17.0.2"
66
},

0 commit comments

Comments
 (0)