(router: Router)
| 2109 | it('can return UrlTree from CanMatchFn guard', async () => { |
| 2110 | const canMatchTeamSection = new InjectionToken('CanMatchTeamSection'); |
| 2111 | const canMatchFactory: (router: Router) => CanMatchFn = (router: Router) => () => |
| 2112 | router.createUrlTree(['/team/1']); |
| 2113 | |
| 2114 | TestBed.overrideProvider(canMatchTeamSection, { |
| 2115 | useFactory: canMatchFactory, |
nothing calls this directly
no test coverage detected
searching dependent graphs…