We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 490dc40 commit 30d40e8Copy full SHA for 30d40e8
1 file changed
jest.config.js
@@ -1,11 +1,8 @@
1
module.exports = {
2
- preset: "ts-jest",
3
testEnvironment: "jsdom",
4
testMatch: ["**/src/**/*.test.ts?(x)"],
5
resolver: "<rootDir>/jest.resolver.cjs",
6
- globals: {
7
- "ts-jest": {
8
- tsconfig: "<rootDir>/tsconfig.jest.json"
9
- }
+ transform: {
+ "^.+.tsx?$": ["ts-jest", {tsconfig: "<rootDir>/tsconfig.jest.json"}],
10
}
11
0 commit comments