-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: modernize the sample tests (#414)
- Loading branch information
1 parent
832181b
commit b1e1050
Showing
10 changed files
with
421 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
--- | ||
env: | ||
mocha: true | ||
rules: | ||
no-console: off | ||
node/no-missing-require: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
{ | ||
"name": "nodejs-docs-samples-pubsub", | ||
"version": "0.0.1", | ||
"files": [ | ||
"*.js" | ||
], | ||
"private": true, | ||
"license": "Apache-2.0", | ||
"author": "Google Inc.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/googleapis/nodejs-pubsub.git" | ||
}, | ||
"repository": "googleapis/nodejs-pubsub", | ||
"engines": { | ||
"node": ">=8" | ||
}, | ||
"scripts": { | ||
"mocha": "mocha system-test/*.js --timeout 600000", | ||
"cover": "nyc --reporter=lcov --cache mocha system-test/*.test.js --timeout 600000 && nyc report", | ||
"test": "npm run cover" | ||
"test": "mocha system-test --timeout 600000" | ||
}, | ||
"dependencies": { | ||
"@google-cloud/pubsub": "^0.22.2", | ||
"yargs": "^12.0.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"execa": "^1.0.0", | ||
"mocha": "^5.2.0", | ||
"@google-cloud/nodejs-repo-tools": "^3.0.0", | ||
"nyc": "^13.0.0", | ||
"proxyquire": "^2.0.0", | ||
"sinon": "^7.0.0", | ||
"uuid": "^3.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
--- | ||
env: | ||
mocha: true | ||
rules: | ||
node/no-unpublished-require: off | ||
node/no-unsupported-features: off | ||
no-empty: off | ||
no-unused-vars: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.