package: npm test should run coverage too

This commit is contained in:
Daniel Cousens 2016-10-10 12:20:48 +11:00 committed by Daniel Cousens
parent 4ee298c414
commit d27a305732

View file

@ -39,7 +39,7 @@
"coverage": "nyc --check-coverage --branches 90 --functions 90 mocha", "coverage": "nyc --check-coverage --branches 90 --functions 90 mocha",
"integration": "mocha test/integration/", "integration": "mocha test/integration/",
"standard": "standard", "standard": "standard",
"test": "npm run standard && npm run unit", "test": "npm run standard && npm run coverage",
"unit": "mocha" "unit": "mocha"
}, },
"repository": { "repository": {