File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828 run : pnpm install
2929
3030 - name : Run the tests
31- run : pnpm test -- -- coverage
31+ run : pnpm run test: coverage
3232
3333 - name : Upload coverage to Codecov
3434 uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 4242 run : pnpm lint
4343
4444 - name : Test
45- run : pnpm test -- --ci --coverage --maxWorkers=2
45+ run : pnpm run test:coverage -- --ci --maxWorkers=2
4646
4747 - name : Build
4848 run : pnpm build
Original file line number Diff line number Diff line change 3131 "start" : " tsdx watch" ,
3232 "build" : " tsdx build" ,
3333 "test" : " tsdx test --passWithNoTests" ,
34+ "test:coverage" : " tsdx test --passWithNoTests --coverage" ,
3435 "prettier" : " prettier ./ --write" ,
3536 "lint" : " tsdx lint" ,
3637 "prepare" : " tsdx build" ,
5354 " package.json" ,
5455 " /stories/"
5556 ],
56- "collectCoverage" : true ,
5757 "testURL" : " http://localhost" ,
5858 "setupFiles" : [
5959 " <rootDir>/src/setupTests.ts"
Original file line number Diff line number Diff line change 1- global . ResizeObserver = jest . fn ( ) . mockImplementation ( ( ) => ( {
1+ ( global as any ) . ResizeObserver = jest . fn ( ) . mockImplementation ( ( ) => ( {
22 observe : jest . fn ( ) ,
33 unobserve : jest . fn ( ) ,
44 disconnect : jest . fn ( ) ,
You can’t perform that action at this time.
0 commit comments