mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 02:24:10 +08:00
test(@angular-devkit/build-angular): change test to use await/async
This commit is contained in:
parent
21182f1e98
commit
5e2c45c8db
@ -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!');
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user