Skip to content

Commit 7b00049

Browse files
committed
Move jest-deprecated setting to tsconfig
1 parent 8ef62c8 commit 7b00049

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

jest.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ export default {
3737

3838
// A map from regular expressions to paths to transformers
3939
transform: {
40-
'^.+\\.tsx?$': [
41-
'ts-jest',
42-
{
43-
isolatedModules: true
44-
}
45-
]
40+
'^.+\\.tsx?$': ['ts-jest']
4641
}
4742
};

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"strictFunctionTypes": true,
1717
"strictBindCallApply": true,
1818
"strictPropertyInitialization": true,
19+
"isolatedModules": true
1920
},
2021
"include": [
2122
"src/**/*"

0 commit comments

Comments
 (0)