mirror of
https://github.com/angular/angular.git
synced 2026-12-06 05:09:14 -05:00
20 lines
450 B
TypeScript
20 lines
450 B
TypeScript
import { AppPage } from './app.po';
|
|
|
|
describe('dynamic-compiler App', () => {
|
|
let page: AppPage;
|
|
|
|
beforeEach(() => {
|
|
page = new AppPage();
|
|
});
|
|
|
|
it('should display welcome message', () => {
|
|
page.navigateTo();
|
|
expect(page.getParagraphText()).toEqual('Hello world!');
|
|
});
|
|
|
|
it('should display lazy-loaded component', () => {
|
|
page.navigateTo();
|
|
expect(page.getLazyLoadedText()).toEqual('Lazy-loaded component!');
|
|
});
|
|
});
|