(from: Node)
| 297 | }; |
| 298 | const navs = (from: Node) => cg.getOutgoingEdges(from.id).filter((e) => e.kind === 'navigates'); |
| 299 | const hrefs = (from: Node) => |
| 300 | navs(from) |
| 301 | .map((e) => (e.metadata as Record<string, unknown>).href as string) |
| 302 | .sort(); |
| 303 | |
| 304 | it('names one route per address: the pathless layout is stripped, the index wins over the layout', () => { |
| 305 | expect(cg.getNodesByKind('route').map((r) => r.name).sort()).toEqual([ |
no test coverage detected