File tree Expand file tree Collapse file tree 3 files changed +1041
-1466
lines changed Expand file tree Collapse file tree 3 files changed +1041
-1466
lines changed Original file line number Diff line number Diff line change
1
+ /** @type {import('ts-jest').JestConfigWithTsJest } **/
1
2
module . exports = {
2
- testEnvironment : "jsdom" ,
3
- globals : {
4
- 'ts-jest' : {
5
- tsconfig : './tsconfig.spec.json' ,
6
- diagnostics : true
7
- }
8
- } ,
3
+ testEnvironment : 'jsdom' ,
9
4
transform : {
10
- '^.+\\.tsx?$' : 'ts-jest'
5
+ '^.+.tsx?$' : [
6
+ 'ts-jest' ,
7
+ {
8
+ tsconfig : 'tsconfig.spec.json' ,
9
+ } ,
10
+ ] ,
11
11
} ,
12
- testRegex : '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$' ,
13
- coveragePathIgnorePatterns : [
14
- '<rootDir>/dist/' ,
15
- '<rootDir>/node_modules/' ,
16
- '<rootDir>/out-tsc/' ,
17
- '<rootDir>/test/'
18
- ] ,
19
- moduleFileExtensions : [
20
- 'ts' ,
21
- 'tsx' ,
22
- 'js' ,
23
- 'jsx' ,
24
- 'json' ,
25
- 'node'
26
- ]
27
12
} ;
Original file line number Diff line number Diff line change 45
45
"test" : " jest --watch"
46
46
},
47
47
"dependencies" : {
48
- "tslib" : " ^2.4 .0"
48
+ "tslib" : " ^2.7 .0"
49
49
},
50
50
"devDependencies" : {
51
51
"@rollup/plugin-commonjs" : " ^28.0.0" ,
52
52
"@rollup/plugin-node-resolve" : " ^15.3.0" ,
53
53
"@rollup/plugin-terser" : " ^0.4.4" ,
54
- "@types/jest" : " ^27.4.1 " ,
55
- "@types/node" : " ^17.0.30 " ,
54
+ "@types/jest" : " ^29.5.13 " ,
55
+ "@types/node" : " ^22.7.4 " ,
56
56
"camelcase" : " ^8.0.0" ,
57
- "jest" : " ^28.0.3 " ,
58
- "jest-environment-jsdom" : " ^28.0.2 " ,
57
+ "jest" : " ^29.7.0 " ,
58
+ "jest-environment-jsdom" : " ^29.7.0 " ,
59
59
"npm-run-all" : " ^4.1.5" ,
60
60
"rollup" : " ^4.24.0" ,
61
- "ts-jest" : " next " ,
61
+ "ts-jest" : " ^29.2.5 " ,
62
62
"tslint" : " ^6.1.3" ,
63
- "typescript" : " ^4 .6.4 "
63
+ "typescript" : " ^5 .6.2 "
64
64
},
65
65
"engines" : {
66
66
"node" : " >= 12"
You can’t perform that action at this time.
0 commit comments