From 19e305cbd6ff669447c9b6b98540b3e18730ccd1 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 27 Dec 2019 07:01:10 -0800 Subject: [PATCH] build: use c8 for coverage (#339) --- packages/google-cloud-videointelligence/package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/google-cloud-videointelligence/package.json b/packages/google-cloud-videointelligence/package.json index 9717045ba45..97dbf859d00 100644 --- a/packages/google-cloud-videointelligence/package.json +++ b/packages/google-cloud-videointelligence/package.json @@ -29,13 +29,11 @@ "Google Cloud Video Intelligence 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 ../", "system-test": "mocha system-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" @@ -56,7 +54,7 @@ "jsdoc-region-tag": "^1.0.2", "linkinator": "^1.5.0", "mocha": "^6.1.4", - "nyc": "^14.1.1", + "c8": "^7.0.0", "power-assert": "^1.6.1", "prettier": "^1.17.1" }