(name: string)
| 211 | return r; |
| 212 | }; |
| 213 | const sym = (name: string): Node => { |
| 214 | const n = cg.getNodesByName(name).find((n) => n.kind !== 'route' && n.kind !== 'file' && n.kind !== 'import'); |
| 215 | if (!n) throw new Error(`no symbol ${name}`); |
| 216 | return n; |
| 217 | }; |
| 218 | const navs = (from: Node) => cg.getOutgoingEdges(from.id).filter((e) => e.kind === 'navigates'); |
| 219 | |
| 220 | it('names every page and endpoint, and binds a page to its component and an endpoint to its function', () => { |
no test coverage detected