Unable to use the RouterTestingModule.withRoutes() in angular 2 for unit testing


Here is my app.routing.ts



The <router-outlet></router-outlet> is in router.component.ts



Please let me know how can I write the unit test for the above code.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

芜湖市第十一中学

曲波 (足球运动员)

巴尔喀什湖