mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
test(ngmodule): update to ngmodule
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
import { Component, ViewEncapsulation } from '@angular/core';
|
||||
import { ionicBootstrap, PickerController } from '../../../../../src';
|
||||
import { Component, ViewEncapsulation, NgModule } from '@angular/core';
|
||||
import { IonicApp, IonicModule, PickerController } from '../../../..';
|
||||
|
||||
|
||||
@Component({
|
||||
templateUrl: 'main.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class E2EPage {
|
||||
export class E2EPage {
|
||||
smoothie: string;
|
||||
timer: string;
|
||||
|
||||
@ -213,8 +213,22 @@ class E2EPage {
|
||||
@Component({
|
||||
template: '<ion-nav [root]="root"></ion-nav>'
|
||||
})
|
||||
class E2EApp {
|
||||
export class E2EApp {
|
||||
root = E2EPage;
|
||||
}
|
||||
|
||||
ionicBootstrap(E2EApp);
|
||||
@NgModule({
|
||||
declarations: [
|
||||
E2EApp,
|
||||
E2EPage
|
||||
],
|
||||
imports: [
|
||||
IonicModule.forRoot(E2EApp)
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [
|
||||
E2EApp,
|
||||
E2EPage
|
||||
]
|
||||
})
|
||||
export class AppModule {}
|
0
src/components/picker/test/basic/e2e.ts
Normal file
0
src/components/picker/test/basic/e2e.ts
Normal file
Reference in New Issue
Block a user