Skip to content

Commit

Permalink
chore: move mocha options to mocha.opts (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jul 30, 2018
1 parent cee19ba commit a108e9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
"greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>"
],
"scripts": {
"cover": "nyc --reporter=lcov mocha --require intelli-espower-loader test/*.js && nyc report",
"cover": "nyc --reporter=lcov mocha test/*.js && 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": "eslint src/ samples/ system-test/ test/",
"prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js",
"samples-test": "cd samples/ && npm link ../ && cd startup-script && npm link ../../ && cd ../ && npm test && cd ../",
"system-test": "mocha system-test/*.js --timeout 600000",
"test-no-cover": "mocha test/*.js --no-timeouts",
"test-no-cover": "mocha test/*.js",
"test": "npm run cover"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/google-cloud-compute/test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--require intelli-espower-loader
--timeout 10000

0 comments on commit a108e9b

Please sign in to comment.