(from: Node)
| 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', () => { |
| 221 | expect(cg.getNodesByKind('route').map((r) => r.name).sort()).toEqual(['/', '/login', '/users', '/users/:id', 'GET /api/users', 'POST /api/users']); |
no test coverage detected