(config: Record<string, unknown>)
| 17 | let stdoutLines: string[] |
| 18 | |
| 19 | async function writeConfig(config: Record<string, unknown>): Promise<void> { |
| 20 | await fsp.writeFile(path.join(configDir, 'zennotes.config.json'), JSON.stringify(config)) |
| 21 | } |
| 22 | |
| 23 | beforeAll(async () => { |
| 24 | tmpDir = await fsp.mkdtemp(path.join(os.tmpdir(), 'zen-vaults-')) |