File tree 3 files changed +204
-106
lines changed
3 files changed +204
-106
lines changed Original file line number Diff line number Diff line change 26
26
"start" : " run-p start:*" ,
27
27
"start:source" : " yarn build:source --watch" ,
28
28
"start:types" : " tsc -b -w --preserveWatchOutput src/" ,
29
- "test" : " node src test" ,
29
+ "test" : " SWC_NODE_PROJECT=src/tsconfig.json node src test" ,
30
30
"test:update" : " node src test --updateSnapshot" ,
31
31
"validate" : " node src validate" ,
32
32
"prepare" : " husky install"
53
53
"@commitlint/cli" : " ^16.1.0" ,
54
54
"@commitlint/config-conventional" : " ^16.2.1" ,
55
55
"@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 " ,
58
58
"@types/jest" : " ^29.0.0" ,
59
59
"@types/lodash.has" : " ^4.5.6" ,
60
60
"@types/mkdirp" : " ^1.0.2" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const jestConfig = {
44
44
] ,
45
45
) ,
46
46
)
47
- : { '^.+\\.(t|j)sx?$' : [ '@swc/jest' ] } ,
47
+ : { '^.+\\.(t|j)sx?$' : [ '@swc-node /jest' ] } ,
48
48
coveragePathIgnorePatterns : [
49
49
...ignores ,
50
50
'src/(umd|cjs|esm)-entry.js$' ,
You can’t perform that action at this time.
0 commit comments