Skip to content

Commit

Permalink
fix(@angular/cli): restore e2e blueprint
Browse files Browse the repository at this point in the history
This reverts commit ba15605.

The commit introduced non idiomatic Protractor code.
  • Loading branch information
cexbrayat authored and filipesilva committed Jun 7, 2017
1 parent c773964 commit 174014c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/@angular/cli/blueprints/ng/files/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ describe('<%= htmlComponentName %> App', () => {
page = new <%= jsComponentName %>Page();
});

it('should display welcome message', done => {
it('should display welcome message', () => {
page.navigateTo();
page.getParagraphText()
.then(msg => expect(msg).toEqual('Welcome to <%= prefix %>!!'))
.then(done, done.fail);
expect(page.getParagraphText()).toEqual('Welcome to <%= prefix %>!!');
});
});

0 comments on commit 174014c

Please sign in to comment.