mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
20 lines
465 B
TypeScript
20 lines
465 B
TypeScript
import { HomePage } from './home.po';
|
|
|
|
describe('Demo Home Page', () => {
|
|
let page: HomePage;
|
|
|
|
beforeEach(() => {
|
|
page = new HomePage();
|
|
});
|
|
|
|
it('should display title', () => {
|
|
page.navigateTo();
|
|
expect(page.getTitleText()).toEqual('Ionic Core Angular Demo Application');
|
|
});
|
|
|
|
it('should navigate to home for root', () => {
|
|
page.navigateToRoot();
|
|
expect(page.getTitleText()).toEqual('Ionic Core Angular Demo Application');
|
|
});
|
|
});
|