(rel: string, content = 'export const x = 1;\n')
| 90 | describe('exclude behavior — scanDirectory drops excluded paths (#999)', () => { |
| 91 | let dir: string; |
| 92 | const mk = (rel: string, content = 'export const x = 1;\n') => { |
| 93 | const p = path.join(dir, rel); |
| 94 | fs.mkdirSync(path.dirname(p), { recursive: true }); |
| 95 | fs.writeFileSync(p, content); |
| 96 | }; |
| 97 | const writeConfig = (obj: unknown) => |
| 98 | fs.writeFileSync(path.join(dir, 'codegraph.json'), JSON.stringify(obj)); |
| 99 |
no test coverage detected