lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 137 forks source link

Error: Uncaught (in promise): invalid link: rootPage in case of lazy loading unit test cases #284

Closed oporje closed 6 years ago

oporje commented 6 years ago

My application is lazy loaded with LoginPage as rootPage and I have menu is my app component.

When I am writing unit test cases for the app component and do fixture.detectChanges();

Error: Uncaught (in promise): invalid link: LoginPage It throws above error.

lathonez commented 6 years ago

Please see #191