Skip to content

Commit

Permalink
test(e2e): improve async/await failing example
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrowhurstram committed Oct 13, 2016
1 parent e8abe15 commit 27441c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/async-await-not-working.spec.ts
Expand Up @@ -15,7 +15,7 @@ describe('async/await support', () => {
// the following (commented out code) is equivalent to the above, but fails to compile
// with the error "operand for 'await' does not have a valid callable 'then' member"

// if (await rows.count() > 0) {
// if ((await rows.count()) > 0) {
// expect(rows.get(0).isPresent()).toBe(true);
// }
});
Expand Down

0 comments on commit 27441c2

Please sign in to comment.