mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
test(slack): harden thread context fixture cleanup
This commit is contained in:
@@ -106,7 +106,12 @@ async function prepareThreadContextCase(params: ThreadContextCaseParams) {
|
||||
describe("prepareSlackMessage thread context allowlists", () => {
|
||||
afterAll(() => {
|
||||
if (fixtureRoot) {
|
||||
fs.rmSync(fixtureRoot, { recursive: true, force: true });
|
||||
fs.rmSync(fixtureRoot, {
|
||||
recursive: true,
|
||||
force: true,
|
||||
maxRetries: 5,
|
||||
retryDelay: 50,
|
||||
});
|
||||
fixtureRoot = "";
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user