(file: string, name: string)
| 164 | }); |
| 165 | |
| 166 | const node = (file: string, name: string) => { |
| 167 | const found = cg.getNodesInFile(file).find((n) => n.name === name && n.kind !== 'import'); |
| 168 | expect(found, `${file}: ${name}`).toBeDefined(); |
| 169 | return found!; |
| 170 | }; |
| 171 | /** The edges into `target`, as `kind source-name resolvedBy`. */ |
| 172 | const into = (target: { id: string }, kinds: Edge['kind'][]) => |
| 173 | cg |
no test coverage detected