Mercurial > hg > ugly-duckling
view e2e/app.e2e-spec.ts @ 191:ea735ebeed0e
Avoid using browser specific singleton directly - despite the fact this is likely always going to be run in a browser.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Mar 2017 11:38:22 +0000 |
parents | 340ce94899fd |
children | 53ea6406d601 |
line wrap: on
line source
import { UglyDucklingPage } from './app.po'; describe('ugly-duckling App', function() { let page: UglyDucklingPage; beforeEach(() => { page = new UglyDucklingPage(); }); it('should display message saying app works', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('app works!'); }); });