Skip to content

Commit b970960

Browse files
a7medevHeshamMegid
authored andcommitted
chore: update outdated jest config format (#1042)
1 parent a6da773 commit b970960

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

jest.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ module.exports = {
1212
modulePathIgnorePatterns: ['examples'],
1313
transform: {
1414
'^.+\\.jsx$': 'babel-jest',
15-
'^.+\\.tsx?$': 'ts-jest',
16-
},
17-
globals: {
18-
'ts-jest': {
19-
tsConfig: 'tsconfig.test.json',
20-
},
15+
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
2116
},
2217
};

0 commit comments

Comments
 (0)