Skip to content

Commit

Permalink
fix(protractor): typescript errors when not using jest typings
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Aug 25, 2017
1 parent b8156ed commit 1ee7b91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/resources/test/webpack/babel/e2e/demo.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ describe('aurelia skeleton app', function() {
});

it('should load the page and display the initial page title', async () => {
await expect(poSkeleton.getCurrentPageTitle()).toBe('Aurelia Navigation Skeleton');
await expect(await poSkeleton.getCurrentPageTitle()).toBe('Aurelia Navigation Skeleton');
});

it('should display greeting', async () => {
await expect(poWelcome.getGreeting()).toBe('Hello World!');
await expect(await poWelcome.getGreeting()).toBe('Hello World!');
});
});
4 changes: 2 additions & 2 deletions lib/resources/test/webpack/typescript/e2e/demo.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ describe('aurelia skeleton app', function() {
});

it('should load the page and display the initial page title', async () => {
await expect(poSkeleton.getCurrentPageTitle()).toBe('Aurelia Navigation Skeleton');
await expect(await poSkeleton.getCurrentPageTitle()).toBe('Aurelia Navigation Skeleton');
});

it('should display greeting', async () => {
await expect(poWelcome.getGreeting()).toBe('Hello World!');
await expect(await poWelcome.getGreeting()).toBe('Hello World!');
});
});

0 comments on commit 1ee7b91

Please sign in to comment.