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

Function returnUrlTree

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

Source from the content-addressed store, hash-verified

1909 return false;
1910 };
1911 const returnUrlTree = () => {
1912 const router = inject(Router);
1913 return delayObservable(30).pipe(
1914 mapTo(router.parseUrl('/redirected')),
1915 tap({next: () => log.push('returnUrlTree')}),
1916 );
1917 };
1918
1919 beforeEach(() => {
1920 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