Skip to content

Commit

Permalink
fix: always run all system-tests (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Aug 30, 2018
1 parent e730895 commit 39185bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/google-cloud-translate/system-test/translate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,11 @@ describe('translate', () => {
});
});

(API_KEY ? describe : describe.skip)('authentication', () => {
describe('authentication', () => {
beforeEach(() => {
if (!API_KEY) {
throw new Error('The `TRANSLATE_API_KEY` environment variable is required!');
}
translate = new Translate({key: API_KEY});
});

Expand Down

0 comments on commit 39185bd

Please sign in to comment.