Skip to content

Commit 09225e6

Browse files
build: use c8 for coverage (#100)
1 parent 7a657fa commit 09225e6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/google-cloud-datalabeling/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@
2727
"Data Labeling API"
2828
],
2929
"scripts": {
30-
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
3130
"docs": "jsdoc -c .jsdoc.js",
3231
"lint": "eslint '**/*.js'",
3332
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
3433
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000",
35-
"test-no-cover": "mocha test/*.js",
36-
"test": "npm run cover",
34+
"test": "c8 mocha",
3735
"fix": "eslint --fix '**/*.js'",
3836
"docs-test": "linkinator docs",
3937
"predocs-test": "npm run docs"
@@ -54,7 +52,7 @@
5452
"jsdoc-region-tag": "^1.0.2",
5553
"linkinator": "^1.5.0",
5654
"mocha": "^6.2.2",
57-
"nyc": "^15.0.0",
55+
"c8": "^7.0.0",
5856
"power-assert": "^1.6.0",
5957
"prettier": "^1.13.6"
6058
}

0 commit comments

Comments
 (0)