Skip to content

Commit 30d40e8

Browse files
committed
fix: обновлён конфиг jest для ts-jest@29
1 parent 490dc40 commit 30d40e8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

jest.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
module.exports = {
2-
preset: "ts-jest",
32
testEnvironment: "jsdom",
43
testMatch: ["**/src/**/*.test.ts?(x)"],
54
resolver: "<rootDir>/jest.resolver.cjs",
6-
globals: {
7-
"ts-jest": {
8-
tsconfig: "<rootDir>/tsconfig.jest.json"
9-
}
5+
transform: {
6+
"^.+.tsx?$": ["ts-jest", {tsconfig: "<rootDir>/tsconfig.jest.json"}],
107
}
118
}

0 commit comments

Comments
 (0)