Skip to content

Commit

Permalink
fix(deps): update dependency @google-cloud/datastore to v3 (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Jan 26, 2019
1 parent 95895a8 commit a821462
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion system-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trace-agent-system-test",
"version": "1.0.0",
"dependencies": {
"@google-cloud/datastore": "^2.0.0",
"@google-cloud/datastore": "^3.0.0",
"express": "^4.16.3",
"google-auto-auth": "^0.10.0",
"got": "^8.0.0",
Expand Down
5 changes: 3 additions & 2 deletions system-test/trace-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const got = require('got');
const queryString = require('querystring');
const uuid = require('uuid');
const semver = require('semver');
const {Datastore} = require('@google-cloud/datastore');

const usingAsyncHooks = semver.satisfies(process.version, '>=8');
console.log(`Running system test with usingAsyncHooks=${usingAsyncHooks}`);
Expand Down Expand Up @@ -110,9 +111,9 @@ describe('express + datastore', () => {
const testPath = `/test-${uuid.v4()}`;

const express = require('express');
const datastore = require('@google-cloud/datastore')({
const datastore = new Datastore({
projectId: projectId,
keyFilename: keyFilename,
keyFilename: keyFilename,
});

const app = express();
Expand Down

0 comments on commit a821462

Please sign in to comment.