Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Jun 16, 2023
1 parent 4007cb6 commit e374c8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system-test/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import * as assert from 'assert';
import {describe, it} from 'mocha';
import {google} from '../src';
import {OAuth2Client} from 'googleapis-common';
const compute = google.compute('v1');

describe('google.auth', async () => {
Expand Down Expand Up @@ -63,7 +64,7 @@ describe('google.auth', async () => {
const authClient = await auth.getClient();
const projectId = await google.auth.getProjectId();
const result = await compute.instances.aggregatedList({
auth: authClient,
auth: authClient as unknown as OAuth2Client,
project: projectId,
});
const vms = result.data;
Expand Down

0 comments on commit e374c8b

Please sign in to comment.