Mercurial > hg > ugly-duckling
view e2e/app.e2e-spec.ts @ 442:51a5df5569a4
No need for ternary operator, coalesce to default value.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 26 Jun 2017 11:07:20 +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!'); }); });