From 2fce638bf20f85b0be63d986d0681c574b131811 Mon Sep 17 00:00:00 2001 From: Jeronimo Vallelunga Date: Thu, 13 Jul 2017 10:42:51 -0300 Subject: [PATCH] Coverage: CI --- .travis.yml | 2 +- package.json | 1 + src/webapp/reducers/index.test.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32a10de..6fe5cb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,4 @@ deploy: on: branch: master after_success: - - npm run test:coverage && codecov -t $CODECOV_TOKEN \ No newline at end of file + - npm run test:coverage:ci \ No newline at end of file diff --git a/package.json b/package.json index a73d7d4..78b61fd 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "test:ci": "jest --config .jest.ci.json", "test:watch": "npm test -- --watch", "test:coverage": "npm test -- --coverage", + "test:coverage:ci": "npm run test:coverage && codecov -t $CODECOV_TOKEN", "prepublish": "npm run build", "release": "np", "example:peripheral:install": "cd example/peripheral && npm install", diff --git a/src/webapp/reducers/index.test.js b/src/webapp/reducers/index.test.js index dcf066c..7ce81b5 100644 --- a/src/webapp/reducers/index.test.js +++ b/src/webapp/reducers/index.test.js @@ -1,4 +1,4 @@ -/* global jest, beforeEach, afterEach, test, expect */ +/* global test, expect */ import Reducer from '.'; test('type: UNKNOWN', () => {