(filename: string, data: Uint8Array)
| 231 | * ``` |
| 232 | */ |
| 233 | export async function saveTestOutput(filename: string, data: Uint8Array): Promise<string> { |
| 234 | const fullPath = join(TEST_OUTPUT_PATH, filename); |
| 235 | const dir = join(fullPath, ".."); |
| 236 | |
| 237 | // Ensure directory exists |
| 238 | await mkdir(dir, { recursive: true }); |
| 239 | |
| 240 | // Write the file |
| 241 | await writeFile(fullPath, data); |
| 242 | |
| 243 | return fullPath; |
| 244 | } |
no outgoing calls
no test coverage detected