Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix(samples): storage import (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored and JustinBeckwith committed Sep 11, 2018
1 parent 0c4a642 commit 4f81e78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion samples/system-test/recognize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
'use strict';

const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const test = require(`ava`);
const uuid = require(`uuid`);

const {runAsync} = require(`@google-cloud/nodejs-repo-tools`);

const storage = new Storage();
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
const cmd = `node recognize.js`;
const cwd = path.join(__dirname, `..`);
Expand Down
3 changes: 2 additions & 1 deletion samples/system-test/recognize.v1p1beta1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
'use strict';

const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const {Storage} = require(`@google-cloud/storage`);
const test = require(`ava`);
const uuid = require(`uuid`);

const {runAsync} = require(`@google-cloud/nodejs-repo-tools`);

const storage = new Storage();
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
const cmd = `node recognize.v1p1beta1.js`;
const cwd = path.join(__dirname, `..`);
Expand Down

0 comments on commit 4f81e78

Please sign in to comment.