Skip to content

Commit 4700d96

Browse files
committed
Fail test on unsatisfied coverage
1 parent b037f61 commit 4700d96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
"test-coverage": "nyc --reporter lcov tape test/index.js",
4545
"test": "npm run build && npm run lint && npm run test-coverage"
4646
},
47+
"nyc": {
48+
"check-coverage": true,
49+
"lines": 100,
50+
"functions": 100,
51+
"branches": 100
52+
},
4753
"xo": {
4854
"space": true,
4955
"rules": {

0 commit comments

Comments
 (0)