Skip to content

Commit

Permalink
ci(test): require a test coverage of 100% in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m committed Sep 18, 2024
1 parent ab45116 commit 1c3f811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"test": "npm run test:code && npm run test:tsc && npm run test:types",
"test:code": "c8 --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 ava test/*.test.js",
"test:code": "c8 --check-coverage --lines 100 --functions 100 --branches 100 --statements 100 ava test/*.test.js",
"test:code:update-snapshots": "ava --update-snapshots",
"test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js",
"test:types": "tsd",
Expand Down

0 comments on commit 1c3f811

Please sign in to comment.