(rel: string, content: string)
| 120 | let cg: CodeGraph; |
| 121 | |
| 122 | function write(rel: string, content: string): void { |
| 123 | const full = path.join(tmpDir, rel); |
| 124 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 125 | fs.writeFileSync(full, content); |
| 126 | } |
| 127 | |
| 128 | beforeAll(async () => { |
| 129 | await initGrammars(); |