diff --git a/.kokoro/test.sh b/.kokoro/test.sh index eb25b89b..4d6c3f83 100755 --- a/.kokoro/test.sh +++ b/.kokoro/test.sh @@ -22,5 +22,6 @@ cd $(dirname $0)/.. npm install npm test +./node_modules/nyc/bin/nyc.js report bash $KOKORO_GFILE_DIR/codecov.sh diff --git a/package.json b/package.json index 5511fa8a..421545fc 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,8 @@ "benchmark": "time node benchmark/bench.js benchmark/queries.json", "docs": "jsdoc -c .jsdoc.js", "lint": "gts check && eslint samples/", - "cover": "nyc --reporter=lcov mocha test/*.js && nyc report", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", - "test": "mocha build/test", + "test": "nyc mocha build/test", "system-test": "mocha build/system-test --timeout 600000", "presystem-test": "npm run compile", "check": "gts check",