Skip to content

Commit ab532e2

Browse files
fix depreciated useage
1 parent 084fb88 commit ab532e2

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

jest.config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ module.exports = {
66
collectCoverage: true,
77
coverageDirectory: 'coverage',
88
coverageProvider: 'v8',
9-
globals: {
10-
'ts-jest': {
11-
tsconfig: '<rootDir>/tsconfig.tests.json',
12-
},
9+
transform: {
10+
'^.+\\.(ts|tsx)$': [
11+
'ts-jest',
12+
{
13+
tsconfig: '<rootDir>/tsconfig.tests.json',
14+
},
15+
],
1316
},
1417
};

0 commit comments

Comments
 (0)