diff --git a/.travis.yml b/.travis.yml index 5d6e17d..7a1cbc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ install: script: - npm run test:unit - npm run test:e2e + - npm run coverage diff --git a/package.json b/package.json index 0e29136..b0823a8 100644 --- a/package.json +++ b/package.json @@ -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",