diff --git a/src/components/tabs/test/tab-bar-scenarios/app.module.ts b/src/components/tabs/test/tab-bar-scenarios/app/app.module.ts similarity index 81% rename from src/components/tabs/test/tab-bar-scenarios/app.module.ts rename to src/components/tabs/test/tab-bar-scenarios/app/app.module.ts index cabffaf4b0..0ab2f55f55 100644 --- a/src/components/tabs/test/tab-bar-scenarios/app.module.ts +++ b/src/components/tabs/test/tab-bar-scenarios/app/app.module.ts @@ -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 {} diff --git a/src/components/tabs/test/tab-bar-scenarios/main.html b/src/components/tabs/test/tab-bar-scenarios/app/main.html similarity index 100% rename from src/components/tabs/test/tab-bar-scenarios/main.html rename to src/components/tabs/test/tab-bar-scenarios/app/main.html diff --git a/src/components/tabs/test/tab-bar-scenarios/main.ts b/src/components/tabs/test/tab-bar-scenarios/app/main.ts similarity index 100% rename from src/components/tabs/test/tab-bar-scenarios/main.ts rename to src/components/tabs/test/tab-bar-scenarios/app/main.ts diff --git a/src/components/tabs/test/tab-bar-scenarios/pages/root-page/root-page.ts b/src/components/tabs/test/tab-bar-scenarios/pages/root-page/root-page.ts new file mode 100644 index 0000000000..736d7b1f97 --- /dev/null +++ b/src/components/tabs/test/tab-bar-scenarios/pages/root-page/root-page.ts @@ -0,0 +1,4 @@ +import { Component } from '@angular/core'; + +@Component({ template: 'hi' }) +export class RootPage { }