Skip to content

Commit

Permalink
test(jest): enable test coverage check (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Feb 17, 2024
1 parent b747ed6 commit f8e3bec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
!.git*
!.yarnrc.yml

coverage/
node_modules/
9 changes: 9 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"testMatch": ["**/*.test.*"]
}

0 comments on commit f8e3bec

Please sign in to comment.