Skip to content

Commit f15e624

Browse files
committed
chore(common): CHECKOUT-4455 Upgrade Jest version
1 parent 202c8c3 commit f15e624

File tree

6 files changed

+2791
-3414
lines changed

6 files changed

+2791
-3414
lines changed

jest-config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module.exports = {
22
browser: true,
3-
transform: {
4-
'\\.(ts|js)$': '<rootDir>/node_modules/ts-jest/preprocessor.js',
5-
},
3+
preset: 'ts-jest',
64
moduleFileExtensions: [
75
'ts',
86
'tsx',
@@ -11,7 +9,9 @@ module.exports = {
119
'json',
1210
],
1311
testRegex: 'src/.*\\.spec.(js|ts)$',
14-
setupTestFrameworkScriptFile: '<rootDir>/jest-setup.js',
12+
setupFilesAfterEnv: [
13+
'<rootDir>/jest-setup.js',
14+
],
1515
collectCoverageFrom: [
1616
'src/**/*.{js,ts}',
1717
],

0 commit comments

Comments
 (0)