(from: Node)
| 357 | }; |
| 358 | const navs = (from: Node) => cg.getOutgoingEdges(from.id).filter((e) => e.kind === 'navigates'); |
| 359 | const hrefs = (from: Node) => |
| 360 | navs(from) |
| 361 | .map((e) => (e.metadata as Record<string, unknown>).href as string) |
| 362 | .sort(); |
| 363 | |
| 364 | it('names one route per address: the pathless layout is stripped, the index wins over the layout', () => { |
| 365 | expect(cg.getNodesByKind('route').map((r) => r.name).sort()).toEqual([ |
no test coverage detected