diff options
author | kumavis <aaron@kumavis.me> | 2017-09-14 07:04:48 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-09-14 07:04:48 +0800 |
commit | dd90e8e364a7023431be081d293d10129b76422c (patch) | |
tree | 91c0e7069317f90e4362b70a17b9ecf6044b9c66 | |
parent | 1d3cd9768cdd372d02e7e34674dde9d86af536f5 (diff) | |
download | tangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.tar.gz tangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.tar.zst tangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.zip |
tests - break out coveralls npm script
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 12f79ba35..d618983bd 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "test-unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"", "single-test": "METAMASK_ENV=test mocha --require test/helper.js", "test-integration": "npm run buildMock && npm run buildCiUnits && karma start", - "test-coverage": "nyc npm run test-unit && if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi", + "test-coverage": "nyc npm run test-unit && npm run coveralls-upload", + "coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi", "ci": "npm run lint && npm run test-coverage && npm run test-integration", "lint": "gulp lint", "buildCiUnits": "node test/integration/index.js", |