Skip to content

Commit

Permalink
chore: fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarRajput-7 committed Apr 15, 2024
1 parent edfcbfb commit 7b654b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/jest-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:

- name: Run Jest with Coverage
run: |
cd frontend && npm test --silent --coverageReporters text --coverageReporters text-summary --changedSince=origin/develop --passWithNoTests --listTests
npm test --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/develop --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit"
cd frontend && npm test --silent --coverageReporters text --coverageReporters json-summary --changedSince=origin/develop --passWithNoTests --maxWorkers=5 --ci --testResultsProcessor="jest-junit"
yarn custom-coverage --verbose
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*",
"commitlint": "commitlint --edit $1",
"test": "jest --coverage",
"custom-coverage": "npx new-files-coverage-check --e !**/*.test.tsx !**/*.test.ts !**/*.snap !**/*.js !**/*.scss !**/*.mock.ts !**/*.spec.ts !**/*.d.ts !**/*.json !**/*.types.ts !**/types.ts !**/*.yml !**/*.yaml !**/__test*/** !**/*.png !**/*.ico !**/*.svg"
"custom-coverage": "npm install check-code-coverage --e !**/*.test.tsx !**/*.test.ts !**/*.snap !**/*.js !**/*.scss !**/*.mock.ts !**/*.spec.ts !**/*.d.ts !**/*.json !**/*.types.ts !**/types.ts !**/*.yml !**/*.yaml !**/__test*/** !**/*.png !**/*.ico !**/*.svg"
},
"engines": {
"node": ">=16.15.0"
Expand Down

0 comments on commit 7b654b8

Please sign in to comment.