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.
1 parent 13b51c0 commit c875852Copy full SHA for c875852
jest/jest.config.js
@@ -3,8 +3,7 @@ module.exports = {
3
rootDir: process.cwd(),
4
collectCoverage: true,
5
transform: {
6
- '^.+\\.ts$': 'ts-jest',
7
- '^.+\\.tsx$': 'ts-jest',
+ '^.+\\.(ts|tsx)$': 'ts-jest',
8
},
9
coverageDirectory: '<rootDir>/coverage',
10
moduleFileExtensions: ['js', 'ts', 'tsx'],
@@ -15,6 +14,10 @@ module.exports = {
15
14
globals: {
16
'ts-jest': {
17
tsconfig: '<rootDir>/tsconfig.test.json',
+ diagnostics: {
18
+ // Ignore this warning for tests, we do not care about this
19
+ ignoreCodes: ['TS151001'],
20
+ },
21
22
__DEBUG_BUILD__: true,
23
0 commit comments