Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodoTheTrue committed Sep 29, 2022
1 parent 94b1774 commit 5c892f7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions samples/test/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,21 @@
// See the License for the specific language governing permissions and
// limitations under the License.

'use strict';

const assert = require('assert');
const cp = require('child_process');
const {assert} = require('chai');
const {describe, it} = require('mocha');
const {auth} = require('google-auth-library');
const {describe, it} = require('mocha');

const execSync = (cmd, opts) => {
return cp.execFileSync(cmd, Object.assign({encoding: 'utf-8'}, opts));
};
const TARGET_AUDIENCE = 'iap.googleapis.com';
const ZONE = 'us-central1-a';

const keyFile = process.env.GOOGLE_APPLICATION_CREDENTIALS;
const ZONE = 'us-central1-a';
const TARGET_AUDIENCE = 'iap.googleapis.com';

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

describe('auth samples', () => {
it('should authenticate explicitly', async () => {
Expand Down

0 comments on commit 5c892f7

Please sign in to comment.