MCPcopy Create free account
hub / github.com/angular/angular / Redirect

Class Redirect

packages/router/test/bootstrap.spec.ts:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

InjectableInterface · 0.90

Tested by

no test coverage detected