(router: Router, type: Type<T>)
| 566 | } |
| 567 | |
| 568 | function createRoot<T>(router: Router, type: Type<T>): ComponentFixture<T> { |
| 569 | const f = TestBed.createComponent(type); |
| 570 | advance(f); |
| 571 | router.initialNavigation(); |
| 572 | advance(f); |
| 573 | return f; |
| 574 | } |
no test coverage detected