diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index 55ed5f0a8959..f4fd62732092 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -29,10 +29,8 @@ "Google Cloud OS Login API" ], "scripts": { - "test": "npm run cover", - "cover": "nyc --reporter=lcov mocha test/*.js && nyc report", + "test": "c8 mocha", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", - "test-no-cover": "mocha test/*.js", "lint": "eslint '**/*.js'", "docs": "jsdoc -c .jsdoc.js", "system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000", @@ -55,7 +53,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.4.4", "prettier": "^1.9.2" }