(files: Record<string, string>)
| 38 | } |
| 39 | |
| 40 | async function indexed(files: Record<string, string>): Promise<void> { |
| 41 | tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-from-module-')); |
| 42 | write(files); |
| 43 | cg = await CodeGraph.init(tempDir, { index: true }); |
| 44 | } |
| 45 | |
| 46 | afterEach(() => { |
| 47 | cg?.close(); |
no test coverage detected