Skip to content

ci(test): require a test coverage of 100% in CI #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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