Skip to content

Commit f73d2f2

Browse files
authored
Bump jest to 29 and other dependencies to minor updates (#443)
1 parent bcb878a commit f73d2f2

File tree

3 files changed

+3629
-2793
lines changed

3 files changed

+3629
-2793
lines changed

jest.config.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ module.exports = {
1010
['jest-junit', { outputDirectory: 'test-results/jest' }],
1111
],
1212
testEnvironment: 'jsdom',
13-
testURL: 'https://www.example.com/',
13+
testEnvironmentOptions: {
14+
url: 'https://www.example.com/',
15+
},
1416
testRegex: '/__tests__/.+test.tsx?$',
1517
globals: {
16-
'ts-jest': {
17-
tsconfig: {
18-
target: 'es6',
19-
},
20-
},
2118
__VERSION__: pkg.version,
2219
},
20+
transform: {
21+
'^.+\\.tsx?$': [
22+
'ts-jest',
23+
{
24+
tsconfig: {
25+
target: 'es6',
26+
},
27+
},
28+
],
29+
},
2330
coverageThreshold: {
2431
global: {
2532
branches: 100,

0 commit comments

Comments
 (0)