test(@angular-devkit/build-angular): change test to use await/async

This commit is contained in:
Alan Agius 2021-02-22 11:41:52 +01:00
parent 21182f1e98
commit 5e2c45c8db

View File

@ -14,8 +14,8 @@ describe('hello-world-app App', () => {
page = new AppPage();
});
it('should display welcome message', () => {
it('should display welcome message', async () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to app!');
expect(await page.getTitleText()).toEqual('Welcome to app!');
});
});