(file: string, content: string)
| 37 | } |
| 38 | |
| 39 | function write(file: string, content: string): void { |
| 40 | fs.mkdirSync(path.dirname(file), { recursive: true }); |
| 41 | fs.writeFileSync(file, content); |
| 42 | } |
| 43 | |
| 44 | /** A repo at `dir` holding `a.ts`, with one commit. */ |
| 45 | function makeRepo(dir: string, source = 'export function onlyOnce() { return 1; }\n'): void { |
no outgoing calls
no test coverage detected