Skip to content

Commit f0b8ba7

Browse files
upgrade packages
1 parent 7233cc3 commit f0b8ba7

File tree

3 files changed

+478
-512
lines changed

3 files changed

+478
-512
lines changed

jest.config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ module.exports = {
55
'^@src/(.*)$': '<rootDir>/src/$1',
66
},
77
coveragePathIgnorePatterns: ['/node_modules/'],
8-
globals: {
9-
'ts-jest': {
10-
tsconfig: '<rootDir>/tsconfig.jest.json',
11-
diagnostics: false,
12-
},
8+
transform: {
9+
'^.+\\.[tj]sx?$': [
10+
'ts-jest',
11+
{
12+
tsconfig: '<rootDir>/tsconfig.jest.json',
13+
diagnostics: false,
14+
},
15+
],
1316
},
1417
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
1518
testMatch: ['**/*.(test|spec).(js|jsx|ts|tsx)'],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"npm-run-all": "^4.1.5",
5757
"prettier": "^2.7.1",
5858
"rimraf": "^3.0.2",
59-
"ts-jest": "^28.0.8",
59+
"ts-jest": "^29.0.0",
6060
"typescript": "^4.8.2",
6161
"yarn-or-npm": "^3.0.1"
6262
}

0 commit comments

Comments
 (0)