Skip to content

Commit

Permalink
fix e2e test for Node 6
Browse files Browse the repository at this point in the history
  • Loading branch information
jeysal committed Mar 2, 2019
1 parent 8018d35 commit 5f5fd06
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions e2e/jasmine-async/__tests__/promiseDescribeFails.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@

'use strict';

describe('Promise describe fails', async () => {
await Promise.resolve();
it('not declared', () => {});
});
// TODO after dropping Node 6: Convert to async-await
// describe('Promise describe fails', async () => {
// await Promise.resolve();
// it('not declared', () => {});
// });

describe('Promise describe fails', () =>
Promise.resolve().then(() => {
it('not declared', () => {});
}));

0 comments on commit 5f5fd06

Please sign in to comment.