We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34cf2c commit ba15605Copy full SHA for ba15605
packages/@angular/cli/blueprints/ng/files/e2e/app.e2e-spec.ts
@@ -7,8 +7,10 @@ describe('<%= htmlComponentName %> App', () => {
7
page = new <%= jsComponentName %>Page();
8
});
9
10
- it('should display welcome message', () => {
+ it('should display welcome message', done => {
11
page.navigateTo();
12
- expect(page.getParagraphText()).toEqual('Welcome to <%= prefix %>!!');
+ page.getParagraphText()
13
+ .then(msg => expect(msg).toEqual('Welcome to <%= prefix %>!!'))
14
+ .then(done, done.fail);
15
16
0 commit comments