(router: Router, type: Type<T>)
| 570 | } |
| 571 | |
| 572 | async function createRoot<T>(router: Router, type: Type<T>): Promise<ComponentFixture<T>> { |
| 573 | const f = TestBed.createComponent(type); |
| 574 | router.initialNavigation(); |
| 575 | await nextNavigation(); |
| 576 | return f; |
| 577 | } |
| 578 | |
| 579 | @Component({ |
| 580 | template: `simple`, |
no test coverage detected