Skip to content

Commit

Permalink
Fix code coverage (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Sep 6, 2018
1 parent 2bfc99b commit 471601a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-resourcemanager/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run: npm test
- run: node_modules/.bin/codecov
- run: npm run codecov

node8:
docker:
Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-resourcemanager/.nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"exclude": [
"src/*{/*,/**/*}.js",
"src/*/v*/*.js",
"test/**/*.js"
"test/**/*.js",
"build/test"
],
"watermarks": {
"branches": [
Expand Down
5 changes: 2 additions & 3 deletions packages/google-cloud-resourcemanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@
"greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>"
],
"scripts": {
"cover": "nyc --reporter=lcov mocha build/test && nyc report",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"lint": "npm run check && eslint samples/",
"prettier": "prettier --write samples/*.js samples/*/*.js",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha build/system-test --timeout 600000",
"test-no-cover": "mocha build/test",
"test": "npm run cover",
"codecov": "nyc report --reporter=json && codecov -f .coverage/*.json",
"test": "nyc mocha build/test",
"check": "gts check",
"clean": "gts clean",
"compile": "tsc -p .",
Expand Down

0 comments on commit 471601a

Please sign in to comment.