(path: string, data: unknown)
| 41 | } |
| 42 | |
| 43 | async function writeJson(path: string, data: unknown): Promise<void> { |
| 44 | await mkdir(resolve(tmpDir, path, '..'), { recursive: true }); |
| 45 | await writeFile(resolve(tmpDir, path), JSON.stringify(data, null, 2)); |
| 46 | } |
| 47 | async function writeFileAt(path: string, content: string): Promise<void> { |
| 48 | await mkdir(resolve(tmpDir, path, '..'), { recursive: true }); |
| 49 | await writeFile(resolve(tmpDir, path), content); |
no outgoing calls
no test coverage detected
searching dependent graphs…