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