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

Commit

Permalink
Fix unhandled promise rejection in tests (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Sep 20, 2018
1 parent 8c8a78f commit 1f867e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ describe('Speech helper methods', () => {
});

beforeEach(() => {
client = new speech.v1.SpeechClient();
client = new speech.v1.SpeechClient({
credentials: {client_email: 'bogus', private_key: 'bogus'},
projectId: 'bogus',
});
});

afterEach(() => {
Expand Down

0 comments on commit 1f867e4

Please sign in to comment.