Skip to content

Commit

Permalink
feat: support Jest 29 (#3767)
Browse files Browse the repository at this point in the history
BREAKING
Jest 29 is required
  • Loading branch information
chimurai committed Aug 25, 2022
1 parent e925f10 commit 94b553b
Show file tree
Hide file tree
Showing 22 changed files with 1,854 additions and 1,800 deletions.
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/const-enum.test.ts.snap
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:491:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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
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:491:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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:491:11)
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:487: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
699 changes: 355 additions & 344 deletions e2e/native-esm-ts/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion e2e/native-esm-ts/package.json
@@ -1,7 +1,7 @@
{
"type": "module",
"devDependencies": {
"@jest/globals": "^28.1.3"
"@jest/globals": "^29.0.0"
},
"jest": {
"extensionsToTreatAsEsm": [".ts"],
Expand Down

0 comments on commit 94b553b

Please sign in to comment.