Skip to content

Commit

Permalink
build: use c8 for coverage (#236)
Browse files Browse the repository at this point in the history
* build: use c8 for coverage

* chore: do our samples exercise more of the codebase

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Co-authored-by: Alexander Fenster <github@fenster.name>
  • Loading branch information
3 people committed Jan 4, 2020
1 parent a6acd27 commit 1379396
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/google-cloud-asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
"Cloud Asset API"
],
"scripts": {
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
"docs": "jsdoc -c .jsdoc.js",
"lint": "eslint '**/*.js'",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"samples-test": "c8 npm run samples-test-suite",
"samples-test-suite": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000",
"test-no-cover": "mocha test/*.js",
"test": "npm run cover",
"test": "c8 mocha",
"fix": "eslint --fix '**/*.js'",
"docs-test": "linkinator docs",
"predocs-test": "npm run docs"
Expand All @@ -56,7 +55,7 @@
"jsdoc-region-tag": "^1.0.2",
"linkinator": "^1.5.0",
"mocha": "^6.0.0",
"nyc": "^14.0.0",
"c8": "^7.0.0",
"power-assert": "^1.6.0",
"prettier": "^1.13.7"
}
Expand Down

0 comments on commit 1379396

Please sign in to comment.