(testName: string)
| 30 | * starts to avoid potentially accumulating infinite test directories. |
| 31 | */ |
| 32 | export async function clean(testName: string): Promise<void> { |
| 33 | const dir = path.join(os.tmpdir(), `code-server/tests/${testName}`) |
| 34 | await fs.rm(dir, { force: true, recursive: true }) |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Create a uniquely named temporary directory for a test. |
no outgoing calls
no test coverage detected