Skip to content

Commit

Permalink
chore(tests): move deprecated ts-jest config in jest.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Sep 18, 2023
1 parent 82ff74a commit 1dcbee7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ const config: Config.InitialOptions = {
],
modulePathIgnorePatterns: ["<rootDir>/tests-modules"],
extensionsToTreatAsEsm: [".ts"],
globals: {
"ts-jest": {
useESM: true,
},
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
useESM: true,
},
],
},
moduleNameMapper: {
"(.*)\\.js$": "$1",
Expand Down

0 comments on commit 1dcbee7

Please sign in to comment.