Skip to content

Commit

Permalink
ci(test): require a test coverage of 100% in CI (#107)
Browse files Browse the repository at this point in the history
<!--
This pull request template provides suggested sections for framing your
work.
You're welcome to change or remove headers if it doesn't fit your use
case. :)
-->

### What are you trying to accomplish?
Raise the bar to a 100% of test coverage

### Context
fixes #87

---------

Co-authored-by: Gregor Martynus <[email protected]>
  • Loading branch information
oscard0m and gr2m authored Sep 18, 2024
1 parent ab45116 commit f5e17c3
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 --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 f5e17c3

Please sign in to comment.