Skip to content

Commit c76d15d

Browse files
committed
test(nav): adds missing ionViewWillLoad counter
1 parent 17dbf69 commit c76d15d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/nav/test/basic/app-module.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ export class FirstPage {
108108
};
109109
}
110110

111+
ionViewWillLoad() {
112+
console.log('ionViewWillLoad, FirstPage', this.viewCtrl.id);
113+
this.called.ionViewWillLoad++;
114+
}
115+
111116
ionViewDidLoad() {
112117
console.log('ionViewDidLoad, FirstPage');
113118
for (var i = 1; i <= 50; i++) {

0 commit comments

Comments
 (0)