(rel: string, body: string)
| 40 | afterEach(() => { fs.rmSync(dir, { recursive: true, force: true }); }); |
| 41 | |
| 42 | const write = (rel: string, body: string) => { |
| 43 | const p = path.join(dir, rel); |
| 44 | fs.mkdirSync(path.dirname(p), { recursive: true }); |
| 45 | fs.writeFileSync(p, body); |
| 46 | }; |
| 47 | |
| 48 | const load = async () => { |
| 49 | const cg = await CodeGraph.init(dir, { silent: true }); |
no test coverage detected