(nodes: TreeNode<ActivatedRouteSnapshot>[])
| 532 | } |
| 533 | |
| 534 | function sortActivatedRouteSnapshots(nodes: TreeNode<ActivatedRouteSnapshot>[]): void { |
| 535 | nodes.sort((a, b) => { |
| 536 | if (a.value.outlet === PRIMARY_OUTLET) return -1; |
| 537 | if (b.value.outlet === PRIMARY_OUTLET) return 1; |
| 538 | return a.value.outlet.localeCompare(b.value.outlet); |
| 539 | }); |
| 540 | } |
| 541 | |
| 542 | function hasEmptyPathConfig(node: TreeNode<ActivatedRouteSnapshot>) { |
| 543 | const config = node.value.routeConfig; |
no outgoing calls
no test coverage detected
searching dependent graphs…