Fix coverage task

This commit is contained in:
Josh Johnson 2018-10-18 22:35:59 +01:00
parent e37b051b5a
commit 17e02df269
2 changed files with 2 additions and 1 deletions

View file

@ -9,3 +9,4 @@ install:
script:
- npm run test:unit
- npm run test:e2e
- npm run coverage

View file

@ -8,7 +8,7 @@
"start": "run-p js:watch css:watch",
"build": "npm run js:build && npm run css:build",
"lint": "eslint assets/**/*.js",
"coverage": "nyc npm run test",
"coverage": "nyc npm run test:unit",
"cypress:run": "$(npm bin)/cypress run",
"cypress:open": "$(npm bin)/cypress open",
"test:unit": "mocha --require ./config/test.js --compilers js:babel-core/register \"./src/**/**/**/**/*.test.js\" --exit",