Simplify the test-coverage script

This commit is contained in:
Thomas Huang 2017-07-24 13:46:02 -07:00
parent 24ffb40ec7
commit a1fab06490
1 changed files with 1 additions and 1 deletions

View File

@ -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\"",