test: harden exec approval temp cleanup

This commit is contained in:
Peter Steinberger
2026-04-18 22:53:50 +01:00
parent 1fd049e307
commit f76883d46c

View File

@@ -272,7 +272,7 @@ describe("exec approvals", () => {
afterAll(async () => {
if (tempRoot) {
await fs.rm(tempRoot, { recursive: true, force: true });
await fs.rm(tempRoot, { recursive: true, force: true, maxRetries: 5, retryDelay: 20 });
}
});