(root: string, file: string, content: string)
| 28 | vi.setConfig({ testTimeout: 60_000, hookTimeout: 60_000 }); |
| 29 | |
| 30 | function write(root: string, file: string, content: string): void { |
| 31 | const full = path.join(root, file); |
| 32 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 33 | fs.writeFileSync(full, content); |
| 34 | } |
| 35 | |
| 36 | function manifest(root: string, file: string, value: unknown): void { |
| 37 | write(root, file, JSON.stringify(value)); |
no test coverage detected