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

The Dalles, Oregon

眉山市

清晰法令