mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(tabs): update final tabs test
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import { Component, ViewEncapsulation, NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { IonicApp, IonicModule } from '../../../..';
|
||||
|
||||
|
||||
@Component({template: 'hi'})
|
||||
export class E2EPage {}
|
||||
import { IonicApp, IonicModule } from '../../../../..';
|
||||
|
||||
import { RootPage } from '../pages/root-page/root-page';
|
||||
|
||||
@Component({
|
||||
templateUrl: 'main.html',
|
||||
@@ -30,13 +27,13 @@ export class E2EPage {}
|
||||
]
|
||||
})
|
||||
export class E2EApp {
|
||||
root = E2EPage;
|
||||
root = RootPage;
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
E2EApp,
|
||||
E2EPage
|
||||
RootPage
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
@@ -45,7 +42,7 @@ export class E2EApp {
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [
|
||||
E2EApp,
|
||||
E2EPage
|
||||
RootPage
|
||||
]
|
||||
})
|
||||
export class AppModule {}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({ template: 'hi' })
|
||||
export class RootPage { }
|
||||
Reference in New Issue
Block a user