(dir: string)
| 128 | }); |
| 129 | |
| 130 | async function makeProject(dir: string): Promise<void> { |
| 131 | fs.mkdirSync(path.join(dir, 'src'), { recursive: true }); |
| 132 | fs.writeFileSync(path.join(dir, 'src', 'sample.ts'), 'export function parseToken() { return 1; }\n'); |
| 133 | (await CodeGraph.init(dir, { index: true })).close(); |
| 134 | } |
| 135 | |
| 136 | describe('the data directory on a Windows drive under WSL', () => { |
| 137 | let root: string; |
no test coverage detected