(rel: string, content: string)
| 109 | let cg: CodeGraph; |
| 110 | |
| 111 | function write(rel: string, content: string): void { |
| 112 | const full = path.join(tmpDir, rel); |
| 113 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 114 | fs.writeFileSync(full, content); |
| 115 | } |
| 116 | |
| 117 | beforeAll(async () => { |
| 118 | await initGrammars(); |