Skip to content

Commit 5e2c45c

Browse files
committed
test(@angular-devkit/build-angular): change test to use await/async
1 parent 21182f1 commit 5e2c45c

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/build_angular/test/hello-world-app/e2e

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/test/hello-world-app/e2e/app.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ describe('hello-world-app App', () => {
1414
page = new AppPage();
1515
});
1616

17-
it('should display welcome message', () => {
17+
it('should display welcome message', async () => {
1818
page.navigateTo();
19-
expect(page.getTitleText()).toEqual('Welcome to app!');
19+
expect(await page.getTitleText()).toEqual('Welcome to app!');
2020
});
2121
});

0 commit comments

Comments
 (0)