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

Function createUrlTree

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

Source from the content-addressed store, hash-verified

1995}
1996
1997function createUrlTree(url: string): UrlTree {
1998 return new DefaultUrlSerializer().parse(url);
1999}
2000
2001function expectTreeToBe(actual: UrlTree, expectedUrl: string): void {
2002 const expected = createUrlTree(expectedUrl);

Callers 3

checkRedirectFunction · 0.85
expectTreeToBeFunction · 0.85

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected