(file: string, qualifiedName: string)
| 200 | cg = await CodeGraph.init(root, { index: true }); |
| 201 | const graph = cg; |
| 202 | const find = (file: string, qualifiedName: string): Node | undefined => |
| 203 | graph.getNodesInFile(file).find((n) => n.qualifiedName === qualifiedName); |
| 204 | const node = (file: string, qualifiedName: string): Node => { |
| 205 | const found = find(file, qualifiedName); |
| 206 | expect(found, `${file} ${qualifiedName}`).toBeDefined(); |
no test coverage detected