Skip to content

Commit

Permalink
chore(test): sets up & checks for coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed May 20, 2024
1 parent 56c3566 commit 4aecb7b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 98.7,
"branches": 92.8,
"functions": 93.7,
"lines": 98.7,
"checkCoverage": true,
"extensions": [".ts", ".mts", ".mjs"],
"exclude": ["{src/**/*.spec.ts,src/**/*.spec.mts,src/node_modules/,./*.js}"],
"exclude": [
"{src/**/*.test.ts,src/**/*.test.mts,src/node_modules/,./*.js,dist/**,tools/**}"
],
"reporter": ["text-summary", "html", "json-summary"]
}

0 comments on commit 4aecb7b

Please sign in to comment.