| 179 | |
| 180 | it('should wait for redirect when initialNavigation = enabledBlocking', async () => { |
| 181 | @Injectable({providedIn: 'root'}) |
| 182 | class Redirect { |
| 183 | constructor(private router: Router) {} |
| 184 | canActivate() { |
| 185 | this.router.navigateByUrl('redirectToMe'); |
| 186 | return false; |
| 187 | } |
| 188 | } |
| 189 | @NgModule({ |
| 190 | imports: [ |
| 191 | BrowserModule, |
nothing calls this directly
no test coverage detected