File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 5757 - run : PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
5858
5959 - name : Run unit tests
60- run : pnpm run test-unit
60+ run : pnpm run test
Original file line number Diff line number Diff line change 5252 ],
5353 "scripts" : {
5454 "dev" : " esno ./scripts/dev.mts" ,
55- "test-unit" : " vitest run" ,
56- "coverage" : " vitest run --coverage" ,
55+ "test" : " vitest run" ,
56+ "test:watch" : " vitest" ,
57+ "test:coverage" : " vitest run --coverage" ,
58+ "test:ui" : " vitest --ui" ,
5759 "doc" : " vitepress dev --open /README" ,
5860 "build" : " vite build" ,
5961 "release" : " esno ./scripts/release.mts" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ async function release() {
2222 }
2323
2424 console . log ( cyan ( 'Unit testing...' ) )
25- if ( spawn . sync ( 'pnpm' , [ 'test-unit ' ] , { stdio : 'inherit' } ) . status === 1 ) {
25+ if ( spawn . sync ( 'pnpm' , [ 'test' ] , { stdio : 'inherit' } ) . status === 1 ) {
2626 return
2727 }
2828
You can’t perform that action at this time.
0 commit comments