(name: string)
| 34 | }); |
| 35 | |
| 36 | function makeProject(name: string): string { |
| 37 | const proj = path.join(tmp, name); |
| 38 | fs.mkdirSync(path.join(proj, '.codegraph'), { recursive: true }); |
| 39 | fs.writeFileSync(path.join(proj, '.codegraph', 'codegraph.db'), 'x'); |
| 40 | return proj; |
| 41 | } |
| 42 | |
| 43 | it('treats a directory and a symlink that points at it as one index', () => { |
| 44 | const real = makeProject('proj'); |
no test coverage detected