Skip to content

Commit

Permalink
Set jest coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknovitski committed Sep 12, 2024
1 parent 5baf83a commit dc09cf0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
},
"jest": {
"coverageDirectory": "<rootDir>/../coverage",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 0
}
},
"preset": "ts-jest",
"rootDir": "src",
"testEnvironment": "node"
Expand Down

0 comments on commit dc09cf0

Please sign in to comment.