Skip to content

Commit

Permalink
fix: migrate deprecated tsconfig object
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrothe committed Jul 23, 2023
1 parent 66bad7b commit 875f27f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions e2e/sveltekit/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"preprocess": true
}
],
"^.+\\.ts$": "ts-jest"
"^.+\\.ts$": ["ts-jest", {
"tsconfig": "tsconfig.spec.json",
"useESM": true
}]
},
"moduleNameMapper": {
"^\\$lib(.*)$": "<rootDir>/src/lib$1",
Expand All @@ -28,11 +31,5 @@
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.spec.json",
"useESM": true
}
},
"testEnvironment": "jsdom"
}

0 comments on commit 875f27f

Please sign in to comment.