Skip to content

Commit 091234b

Browse files
committed
coverage thresholds
1 parent 7ac283a commit 091234b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"existsTests": "node --test --test-name-pattern=__exists test/routes/**/*.test.js",
2727
"coreTests": "node --test --test-name-pattern=__core test/routes/**/*.test.js",
2828
"functionalTests": "node --test --test-name-pattern=__mock_functions test/routes/**/*.test.js",
29-
"coverage": "c8 --reporter=text --reporter=json --reporter=html node --test test/routes/**/*.test.js",
29+
"coverage": "c8 --check-coverage --lines 75 --functions 80 --branches 60 --statements 75 --reporter=text --reporter=json --reporter=html node --test test/routes/**/*.test.js",
3030
"e2e:install": "playwright install --with-deps chromium",
3131
"ci:fast": "npm run coreTests && npm run existsTests && npm run functionalTests",
3232
"ci:full": "npm run e2e:install && npm run allTests && npm run coverage"

0 commit comments

Comments
 (0)