test(slack): harden fixture cleanup retries

This commit is contained in:
Vincent Koc
2026-04-14 19:51:21 +01:00
parent c2a192a48a
commit df956f8162

View File

@@ -86,7 +86,12 @@ export function createSlackSessionStoreFixture(prefix: string) {
if (!fixtureRoot) {
return;
}
fs.rmSync(fixtureRoot, { recursive: true, force: true });
fs.rmSync(fixtureRoot, {
recursive: true,
force: true,
maxRetries: 5,
retryDelay: 50,
});
fixtureRoot = "";
},
makeTmpStorePath() {