| 286 | |
| 287 | it('can use a UrlTree as the input', async () => { |
| 288 | @Component({ |
| 289 | template: '<a [routerLink]="urlTree">link</a>', |
| 290 | imports: [RouterLink], |
| 291 | }) |
| 292 | class WithUrlTree { |
| 293 | urlTree = inject(Router).createUrlTree(['/a/b/c']); |
| 294 | } |
| 295 | TestBed.configureTestingModule({providers: [provideRouter([])]}); |
| 296 | |
| 297 | const fixture = TestBed.createComponent(WithUrlTree); |
nothing calls this directly
no test coverage detected
searching dependent graphs…