| 293 | |
| 294 | it('can use a UrlTree as the input', async () => { |
| 295 | @Component({ |
| 296 | template: '<a [routerLink]="urlTree">link</a>', |
| 297 | imports: [RouterLink], |
| 298 | }) |
| 299 | class WithUrlTree { |
| 300 | urlTree = inject(Router).createUrlTree(['/a/b/c']); |
| 301 | } |
| 302 | TestBed.configureTestingModule({providers: [provideRouter([])]}); |
| 303 | |
| 304 | const fixture = TestBed.createComponent(WithUrlTree); |
nothing calls this directly
no test coverage detected