Skip to content

Commit 3a07c12

Browse files
JustinBeckwithbcoe
authored andcommitted
build: use c8 for coverage (#259)
1 parent acace14 commit 3a07c12

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/google-cloud-oslogin/package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@
2929
"Google Cloud OS Login API"
3030
],
3131
"scripts": {
32-
"test": "npm run cover",
33-
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
32+
"test": "c8 mocha",
3433
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
35-
"test-no-cover": "mocha test/*.js",
3634
"lint": "eslint '**/*.js'",
3735
"docs": "jsdoc -c .jsdoc.js",
3836
"system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000",
@@ -55,7 +53,7 @@
5553
"jsdoc-region-tag": "^1.0.2",
5654
"linkinator": "^1.5.0",
5755
"mocha": "^6.0.0",
58-
"nyc": "^14.0.0",
56+
"c8": "^7.0.0",
5957
"power-assert": "^1.4.4",
6058
"prettier": "^1.9.2"
6159
}

0 commit comments

Comments
 (0)