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.
tsconfig.test.json
1 parent 01e4a20 commit 56fef01Copy full SHA for 56fef01
jest.config.js
@@ -12,11 +12,11 @@ module.exports = {
12
modulePathIgnorePatterns: ['example'],
13
transform: {
14
'^.+\\.jsx$': 'babel-jest',
15
- '^.+\\.tsx?$': [
16
- 'ts-jest',
17
- {
18
- tsconfig: 'tsconfig.json',
19
- },
20
- ],
+ '^.+\\.tsx?$': 'ts-jest',
+ },
+ globals: {
+ 'ts-jest': {
+ tsconfig: 'tsconfig.test.json',
21
},
22
};
tsconfig.test.json
@@ -0,0 +1,4 @@
1
+{
2
+ "extends": "./tsconfig.json",
3
+ "include": ["test/**/*"]
4
+}
0 commit comments