Mercurial > hg > ugly-duckling
view e2e/app.e2e-spec.ts @ 494:f52eb1b422f5
Display errors to user instead of logging to console.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 06 Jul 2017 19:48:22 +0100 |
parents | 53ea6406d601 |
children |
line wrap: on
line source
import { UglyDucklingPage } from './app.po'; describe('ugly-duckling App', () => { let page: UglyDucklingPage; beforeEach(() => { page = new UglyDucklingPage(); }); it('should display message saying app works', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('app works!'); }); });