storybook/examples/angular-cli/e2e/app.e2e-spec.ts
2018-01-08 14:02:45 +02:00

16 lines
312 B
TypeScript

import { AppPage } from './app.po';
import 'jasmine';
describe('ng5test App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(<any>page.getParagraphText()).toEqual('Welcome to app!');
});
});