aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-11 23:56:05 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-12 00:39:16 +0800
commitf157d5371a6559937878184e5f929ec4bdd14c6d (patch)
tree0fcc06a95cb304fbd2e1658a9bd516b48b3888fe
parentd60991ec88fe88be4041eb4a9392df6dfc1aa973 (diff)
downloadtangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar.gz
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar.bz2
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar.lz
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar.xz
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.tar.zst
tangerine-wallet-browser-f157d5371a6559937878184e5f929ec4bdd14c6d.zip
Add html reporter to test coverage output
-rw-r--r--.gitignore1
-rw-r--r--package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index af86113fb..4ee0c1c62 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ temp
.DS_Store
app/.DS_Store
+coverage/
dist
builds/
disc/
diff --git a/package.json b/package.json
index 13349bf6f..08b199ddd 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
"test:e2e:run:firefox": "SELENIUM_BROWSER=firefox mocha test/e2e/metamask.spec --bail --recursive",
"test:screens": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && npm run test:screens:run'",
"test:screens:run": "node test/screens/new-ui.js",
- "test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",
+ "test:coverage": "nyc --reporter=text --reporter=html npm run test:unit && npm run test:coveralls-upload",
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"test:flat": "npm run test:flat:build && karma start test/flat.conf.js",
"test:flat:build": "npm run test:flat:build:ui && npm run test:flat:build:tests && npm run test:flat:build:locales",