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

Function returnUrlTree

packages/router/test/integration/guards.spec.ts:1908–1914  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1906 return false;
1907 };
1908 const returnUrlTree = () => {
1909 const router = inject(Router);
1910 return delayObservable(30).pipe(
1911 mapTo(router.parseUrl('/redirected')),
1912 tap({next: () => log.push('returnUrlTree')}),
1913 );
1914 };
1915
1916 beforeEach(() => {
1917 log = [];

Callers

nothing calls this directly

Calls 4

injectFunction · 0.90
delayObservableFunction · 0.85
parseUrlMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected