( context: CLITestContext, )
| 53 | * Cleans up test context |
| 54 | */ |
| 55 | export async function cleanupTestContext( |
| 56 | context: CLITestContext, |
| 57 | ): Promise<void> { |
| 58 | try { |
| 59 | await fs.rm(context.testDir, { recursive: true, force: true }); |
| 60 | } catch { |
| 61 | // Ignore cleanup errors |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Runs the CLI with given options |
no outgoing calls
no test coverage detected