(rel: string, body: string)
| 26 | }); |
| 27 | |
| 28 | const write = (rel: string, body: string) => { |
| 29 | const p = path.join(dir, rel); |
| 30 | fs.mkdirSync(path.dirname(p), { recursive: true }); |
| 31 | fs.writeFileSync(p, body); |
| 32 | }; |
| 33 | |
| 34 | /** Every jsx-render edge, as `source kind:name@file -> target name@file`. */ |
| 35 | async function renders(): Promise<string[]> { |
no test coverage detected