File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 3636 run : npm run lint
3737
3838 - name : Run the tests
39- run : npm test -- --coverage
39+ run : npm run jest:ci -- --coverage
4040
4141 - name : Upload coverage reports to Codecov with GitHub Action
4242 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 3737 run : npm run lint
3838
3939 - name : Run the tests
40- run : npm test
40+ run : npm run jest:ci
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ test/static: dependencies
6565 npm run lint
6666
6767test : env dependencies test/static
68- npm run test
68+ npm run jest:ci
6969
7070coverage : test
7171
Original file line number Diff line number Diff line change 2525 "typescript" : " ^5.4.5"
2626 },
2727 "scripts" : {
28+ "start" : " npm run test" ,
2829 "lint" : " npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'" ,
29- "test" : " jest"
30+ "jest:ci" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
31+ "jest:bruteforce" : " BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
32+ "jest:watch" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll" ,
33+ "prettier" : " npx prettier --write 'src/**/*.js'" ,
34+ "test" : " jest" ,
35+ "update-all" : " npm install $(npm outdated | cut -d' ' -f 1 | sed '1d' | xargs -I '$' echo '$@latest' | xargs echo)"
3036 }
3137}
You can’t perform that action at this time.
0 commit comments