Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodoTheTrue committed Sep 16, 2022
1 parent 4899d3a commit 323566e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth/system-test/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const assert = require('assert');
const path = require('path');
const cp = require('child_process');
const {auth} = require('google-auth-library');
const {describe, it} = require('mocha');

const cwd = path.join(__dirname, '..');
const cmd = 'node auth.js';
Expand All @@ -31,7 +32,7 @@ process.env.GOOGLE_CLOUD_PROJECT = 'long-door-651';
const keyFile = process.env.GOOGLE_APPLICATION_CREDENTIALS;

const execSync = (command, opts) => {
return cp.execFile(command, Object.assign({encoding: 'utf-8'}, opts));
return cp.execSync(command, Object.assign({encoding: 'utf-8'}, opts));
};

describe('auth samples', () => {
Expand Down

0 comments on commit 323566e

Please sign in to comment.