(snapshot: ActivatedRouteSnapshot)
| 713 | class Guard { |
| 714 | constructor(private readonly router: Router) {} |
| 715 | canActivate(snapshot: ActivatedRouteSnapshot) { |
| 716 | this.router.navigateByUrl(createUrlTreeFromSnapshot(snapshot, ['../sibling'], null, null)); |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | @Component({ |
nothing calls this directly
no test coverage detected