(router: Router)
| 2166 | it('can return UrlTree from CanMatchFn guard', async () => { |
| 2167 | const canMatchTeamSection = new InjectionToken('CanMatchTeamSection'); |
| 2168 | const canMatchFactory: (router: Router) => CanMatchFn = (router: Router) => () => |
| 2169 | router.createUrlTree(['/team/1']); |
| 2170 | |
| 2171 | TestBed.overrideProvider(canMatchTeamSection, { |
| 2172 | useFactory: canMatchFactory, |
nothing calls this directly
no test coverage detected