(router: Router, type: Type<T>)
| 2407 | } |
| 2408 | |
| 2409 | async function createRoot<T>(router: Router, type: Type<T>): Promise<ComponentFixture<T>> { |
| 2410 | const f = TestBed.createComponent(type); |
| 2411 | await advance(f); |
| 2412 | router.initialNavigation(); |
| 2413 | await advance(f); |
| 2414 | return f; |
| 2415 | } |
no test coverage detected