Skip to content

Commit 94b553b

Browse files
authoredAug 25, 2022
feat: support Jest 29 (#3767)
BREAKING Jest 29 is required
1 parent e925f10 commit 94b553b

22 files changed

+1854
-1800
lines changed
 

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

+1-1
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:491:11)
22+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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

+2-2
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:491:11)
22+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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:491:11)
48+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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/native-esm-ts/package-lock.json

+355-344
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎e2e/native-esm-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"devDependencies": {
4-
"@jest/globals": "^28.1.3"
4+
"@jest/globals": "^29.0.0"
55
},
66
"jest": {
77
"extensionsToTreatAsEsm": [".ts"],

0 commit comments

Comments
 (0)
Please sign in to comment.