(dir: string, rel: string, content: string)
| 31 | const internals = (graph: CodeGraph) => graph as unknown as Internals; |
| 32 | |
| 33 | function write(dir: string, rel: string, content: string): void { |
| 34 | const full = path.join(dir, rel); |
| 35 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 36 | fs.writeFileSync(full, content); |
| 37 | } |
| 38 | |
| 39 | /** A bus, a handler registered on it, and a service that emits: one event-emitter edge. */ |
| 40 | function fixture(dir: string): void { |
no test coverage detected