From 743322af57168cceb551c43fd688b719aec68585 Mon Sep 17 00:00:00 2001 From: Borja Canseco Date: Sun, 21 Oct 2018 23:38:06 -0500 Subject: [PATCH] test: collect coverage by default --- .travis.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f1f983..1085ddd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,6 @@ install: script: - npm start -- npm test -- --coverage && codecov +- npm test && codecov - npm run lint - npm run vuln diff --git a/package.json b/package.json index ad6f86c..8d40a2a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "scripts": { "example": "webpack --config example/webpack.config.babel.js", "start": "webpack", - "test": "jest", + "test": "jest --coverage", "lint": "eslint .", "vuln": "npm-audit-ci", "prepack": "npm start"