(config: unknown)
| 98 | }); |
| 99 | |
| 100 | const write = (config: unknown): string => { |
| 101 | const sub = fs.mkdtempSync(path.join(dir, 'p-')); |
| 102 | fs.writeFileSync(path.join(sub, 'codegraph.json'), JSON.stringify(config)); |
| 103 | return sub; |
| 104 | }; |
| 105 | |
| 106 | it('defaults to empty with no config file', () => { |
| 107 | const sub = fs.mkdtempSync(path.join(dir, 'none-')); |
no test coverage detected