Skip to content

Commit

Permalink
Merge pull request #3366 from ethereum/test/local-coverage
Browse files Browse the repository at this point in the history
Add npm alias scripts for generating html cov report locally
  • Loading branch information
nivida authored Feb 6, 2020
2 parents f5f7a42 + 0a10f77 commit 620c0ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"lint": "jshint *.js packages",
"test": "mocha --grep E2E --invert; jshint *.js packages",
"test:unit": "nyc --no-clean --silent _mocha -- -R spec --grep E2E --invert",
"test:cov": "npm run cov:clean; npm run test:unit; npm run test:e2e:clients; npm run cov:html",
"dtslint": "lerna run dtslint",
"depcheck": "lerna exec dependency-check -- --missing --verbose .",
"bundlesize": "bundlesize",
Expand All @@ -49,7 +50,9 @@
"test:e2e:ens": "./scripts/e2e.ens.sh",
"test:e2e:ganache:core": "./scripts/e2e.ganache.core.sh",
"ci": "./scripts/ci.sh",
"coveralls": "./scripts/coveralls.sh"
"coveralls": "./scripts/coveralls.sh",
"cov:clean": "rm -rf .nyc_output; rm -rf coverage",
"cov:html": "nyc report --reporter=html"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 620c0ba

Please sign in to comment.