MCPcopy
hub / github.com/angular/angular / createUrlTree

Function createUrlTree

packages/router/test/apply_redirects.spec.ts:1914–1916  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

1912}
1913
1914function createUrlTree(url: string): UrlTree {
1915 return new DefaultUrlSerializer().parse(url);
1916}
1917
1918function expectTreeToBe(actual: UrlTree, expectedUrl: string): void {
1919 const expected = createUrlTree(expectedUrl);

Callers 3

checkRedirectFunction · 0.85
expectTreeToBeFunction · 0.85

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…