File tree 3 files changed +277
-142
lines changed
3 files changed +277
-142
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- preset : 'ts-jest/presets/js-with-babel' ,
2
+ transform : {
3
+ '^.+\\.(t|j)s?$' : [ '@swc/jest' ] ,
4
+ } ,
3
5
testEnvironment : '@commitlint/test-environment' ,
4
6
testRegex : undefined ,
5
7
testMatch : [ '**/*.test.[jt]s?(x)' ] ,
Original file line number Diff line number Diff line change 86
86
"@babel/core" : " ^7.12.10" ,
87
87
"@babel/preset-env" : " ^7.12.11" ,
88
88
"@lerna/project" : " ^5.0.0" ,
89
+ "@swc/core" : " ^1.2.207" ,
90
+ "@swc/jest" : " ^0.2.21" ,
89
91
"@types/jest" : " ^28.0.0" ,
90
92
"@types/node" : " ^14.0.0" ,
91
93
"@typescript-eslint/eslint-plugin" : " ^5.0.0" ,
97
99
"eslint-plugin-import" : " ^2.20.1" ,
98
100
"eslint-plugin-jest" : " ^26.0.0" ,
99
101
"husky" : " ^8.0.0" ,
100
- "jest" : " 28.1.1 " ,
102
+ "jest" : " ^ 28.1.2 " ,
101
103
"lerna" : " ^5.0.0" ,
102
104
"lint-staged" : " 13.0.3" ,
103
105
"prettier" : " ^2.0.5" ,
104
- "ts-jest" : " ^28.0.2" ,
105
106
"typescript" : " ^4.6.4"
106
107
},
107
108
"resolutions" : {
You can’t perform that action at this time.
0 commit comments