File tree Expand file tree Collapse file tree 3 files changed +204
-106
lines changed Expand file tree Collapse file tree 3 files changed +204
-106
lines changed Original file line number Diff line number Diff line change 2626 "start" : " run-p start:*" ,
2727 "start:source" : " yarn build:source --watch" ,
2828 "start:types" : " tsc -b -w --preserveWatchOutput src/" ,
29- "test" : " node src test" ,
29+ "test" : " SWC_NODE_PROJECT=src/tsconfig.json node src test" ,
3030 "test:update" : " node src test --updateSnapshot" ,
3131 "validate" : " node src validate" ,
3232 "prepare" : " husky install"
5353 "@commitlint/cli" : " ^16.1.0" ,
5454 "@commitlint/config-conventional" : " ^16.2.1" ,
5555 "@commitlint/prompt" : " ^16.1.0" ,
56- "@swc/core " : " ^1.2.248 " ,
57- "@swc/jest " : " ^0.2.22 " ,
56+ "@swc-node/jest " : " ^1.5.2 " ,
57+ "@swc/core " : " ^1.3.3 " ,
5858 "@types/jest" : " ^29.0.0" ,
5959 "@types/lodash.has" : " ^4.5.6" ,
6060 "@types/mkdirp" : " ^1.0.2" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const jestConfig = {
4444 ] ,
4545 ) ,
4646 )
47- : { '^.+\\.(t|j)sx?$' : [ '@swc/jest' ] } ,
47+ : { '^.+\\.(t|j)sx?$' : [ '@swc-node /jest' ] } ,
4848 coveragePathIgnorePatterns : [
4949 ...ignores ,
5050 'src/(umd|cjs|esm)-entry.js$' ,
You can’t perform that action at this time.
0 commit comments