mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-24 05:02:24 +08:00
16 lines
312 B
TypeScript
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!');
|
|
});
|
|
});
|