2018-01-16 10:09:59 -05:00
|
|
|
import { AppPage } from './app.po';
|
|
|
|
|
|
|
|
describe('cli-hello-world App', () => {
|
|
|
|
let page: AppPage;
|
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
page = new AppPage();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should display welcome message', () => {
|
|
|
|
page.navigateTo();
|
|
|
|
expect(page.getParagraphText()).toEqual('Welcome to app!');
|
|
|
|
});
|
2018-04-24 14:30:23 -04:00
|
|
|
|
|
|
|
it('the percent pipe should work', () => {
|
|
|
|
page.navigateTo();
|
|
|
|
expect(page.getPipeContent()).toEqual('100 % awesome');
|
|
|
|
})
|
2018-01-16 10:09:59 -05:00
|
|
|
});
|