Skip to content

Commit

Permalink
fix: обновлён конфиг jest для ts-jest@29
Browse files Browse the repository at this point in the history
  • Loading branch information
mxseev committed Sep 12, 2022
1 parent 490dc40 commit 30d40e8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "jsdom",
testMatch: ["**/src/**/*.test.ts?(x)"],
resolver: "<rootDir>/jest.resolver.cjs",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/tsconfig.jest.json"
}
transform: {
"^.+.tsx?$": ["ts-jest", {tsconfig: "<rootDir>/tsconfig.jest.json"}],
}
}

0 comments on commit 30d40e8

Please sign in to comment.