Skip to content

Commit

Permalink
Update synth and storage (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and jkwlui committed Sep 5, 2018
1 parent 7b8f148 commit cbff458
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
10 changes: 1 addition & 9 deletions cloud-language/snippets/package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
{
"name": "nodejs-docs-samples-language",
"version": "0.0.1",
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
"node": ">=8"
},
"repository": "googleapis/nodejs-language",
"private": true,
"semistandard": {
"ignore": [
"node_modules"
]
},
"scripts": {
"ava": "ava -T 20s --verbose test/*.test.js ./system-test/*.test.js",
"cover": "nyc --reporter=lcov --cache ava -T 20s --verbose test/*.test.js ./system-test/*.test.js && nyc report",
"test": "npm run cover"
},
"dependencies": {
"@google-cloud/language": "^1.2.0",
"@google-cloud/storage": "^1.7.0",
"@google-cloud/storage": "^2.0.0",
"yargs": "^12.0.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^2.3.0",
"ava": "^0.25.0",
"proxyquire": "^2.0.1",
"sinon": "^6.0.1",
"uuid": "^3.2.1"
}
}
3 changes: 2 additions & 1 deletion cloud-language/snippets/system-test/analyze.v1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

const fs = require(`fs`);
const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const storage = new Storage();
const test = require(`ava`);
const tools = require(`@google-cloud/nodejs-repo-tools`);
const uuid = require(`uuid`);
Expand Down
3 changes: 2 additions & 1 deletion cloud-language/snippets/system-test/analyze.v1beta2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

const fs = require(`fs`);
const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const storage = new Storage();
const test = require(`ava`);
const tools = require(`@google-cloud/nodejs-repo-tools`);
const uuid = require(`uuid`);
Expand Down

0 comments on commit cbff458

Please sign in to comment.