We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ts-jest
jest.config.js
1 parent b8f68b9 commit 42a2b18Copy full SHA for 42a2b18
1 file changed
jest.config.js
@@ -11,7 +11,12 @@ module.exports = {
11
preset: 'ts-jest',
12
testEnvironment: 'node',
13
transform: {
14
- '^.+\\.tsx?$': 'ts-jest',
+ '^.+\\.tsx?$': [
15
+ 'ts-jest',
16
+ {
17
+ tsconfig: 'tsconfig.test.json',
18
+ },
19
+ ],
20
},
21
22
// Test spec file resolution pattern
@@ -24,9 +29,4 @@ module.exports = {
24
29
testTimeout: 20000,
25
30
26
31
//setupFiles: ['./tests/jest.setup.ts'],
27
- globals: {
28
- 'ts-jest': {
- tsconfig: 'tsconfig.test.json',
- },
32
};
0 commit comments