Skip to content

Commit f5e17c3

Browse files
oscard0mgr2m
andauthoredSep 18, 2024
ci(test): require a test coverage of 100% in CI (copilot-extensions#107)
<!-- 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 copilot-extensions#87 --------- Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
1 parent ab45116 commit f5e17c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"scripts": {
2828
"test": "npm run test:code && npm run test:tsc && npm run test:types",
29-
"test:code": "c8 --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 ava test/*.test.js",
29+
"test:code": "c8 --100 ava test/*.test.js",
3030
"test:code:update-snapshots": "ava --update-snapshots",
3131
"test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js",
3232
"test:types": "tsd",

0 commit comments

Comments
 (0)
Failed to load comments.