test(e2e): refactor e2e to use deeplink decorator, lazy load more pages

This commit is contained in:
Dan Bucholtz
2017-03-11 00:15:38 -06:00
committed by GitHub
parent 3118bbbd1b
commit 0964c850d4
290 changed files with 2083 additions and 1865 deletions

View File

@@ -2,23 +2,18 @@ import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule } from '../../../../..';
import { E2EApp } from './app.component';
import { AppComponent } from './app.component';
import { PageOneModule } from '../pages/page-one/page-one.module';
@NgModule({
declarations: [
E2EApp
AppComponent
],
imports: [
BrowserModule,
IonicModule.forRoot(E2EApp, {}, {
links: [
{ loadChildren: '../pages/main/main.module#E2EPageModule', name: 'E2EPage' },
]
})
IonicModule.forRoot(AppComponent, {}),
PageOneModule
],
bootstrap: [IonicApp],
entryComponents: [
E2EApp
]
})
export class AppModule {}