diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-07-25 04:46:02 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-07-25 04:46:02 +0800 |
commit | a1fab0649035b75604dbee5aa18077c5cd747b3b (patch) | |
tree | db9c902c32be24d0019f21c368925046e548bb3b /package.json | |
parent | 24ffb40ec77016259ba4bb1b838298bf119f695e (diff) | |
download | tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar.gz tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar.bz2 tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar.lz tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar.xz tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.tar.zst tangerine-wallet-browser-a1fab0649035b75604dbee5aa18077c5cd747b3b.zip |
Simplify the test-coverage script
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index d90cc5e3b..fe5466b9e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "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 && testem ci -P 2", - "test-coverage": "nyc --reporter=lcov --reporter=text npm run test-unit && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", + "test-coverage": "nyc npm run test-unit && nyc report --reporter=text-lcov | coveralls", "lint": "gulp lint", "buildCiUnits": "node test/integration/index.js", "watch": "mocha watch --recursive \"test/unit/**/*.js\"", |