File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 steps :
7878 - uses : actions/checkout@v2
7979 - uses : codecov/codecov-action@v1
80- - run : yarn test -- coverage # Run test
80+ - run : npm run coverage # Run test
8181 - run : bash <(curl -s https://codecov.io/bash) # Upload to Codecov
Original file line number Diff line number Diff line change 2020 "build" : " craco build" ,
2121 "test" : " craco test --watchAll=false" ,
2222 "test:watch" : " craco test" ,
23- "coverage" : " craco test --coverage -- watchAll=false" ,
23+ "coverage" : " craco test --watchAll=false --coverage " ,
2424 "eject" : " craco eject" ,
2525 "lint" : " eslint src --ext js" ,
2626 "format" : " prettier --write \" **/*.+(js|json|css|html)\" " ,
6666 },
6767 "jest" : {
6868 "collectCoverageFrom" : [
69- " src/components/*.tsx " ,
69+ " src/components/*.js " ,
7070 " !<rootDir>/node_modules/**/*" ,
7171 " !<rootDir>/src/setupTests*"
7272 ],
You can’t perform that action at this time.
0 commit comments