storybook/examples/angular-cli/e2e/app.e2e-spec.ts
Carlos Vega 99435cfcf5 Angular (2+) support (#269)
This is the first attempt at adding support for Angular based, mostly, on the vue changes.

What works:
- Added angular sample code to the `examples` folder
- Rendering stories and creating stories out of existing angular components
- For the time being, this only supports one-page angular components

What's missing:
- Addons support
- Support for components that have a separate template

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:16:45 +02:00

15 lines
319 B
TypeScript

import { AngularTestPage } from './app.po';
describe('angular-test App', () => {
let page: AngularTestPage;
beforeEach(() => {
page = new AngularTestPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!!');
});
});