Mercurial > hg > ugly-duckling
view e2e/app.e2e-spec.ts @ 465:caef9a302bec
Add methods for mutating the current state without updating the history (naming might not be that declarative).
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 30 Jun 2017 14:49:40 +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!'); }); });