diff --git a/src/web/auto-reply.test-harness.ts b/src/web/auto-reply.test-harness.ts index 28313e1a7..7cbf0ea38 100644 --- a/src/web/auto-reply.test-harness.ts +++ b/src/web/auto-reply.test-harness.ts @@ -45,7 +45,7 @@ export async function rmDirWithRetries( retryDelay: delayMs, }); return; - } catch (err) { + } catch { // Fall back for older Node implementations (or unexpected retry behavior). for (let attempt = 0; attempt < attempts; attempt += 1) { try { diff --git a/src/web/auto-reply.web-auto-reply.prefixes-and-partial-gating.test.ts b/src/web/auto-reply.web-auto-reply.prefixes-and-partial-gating.test.ts index 1b0bc6c14..a60271e3f 100644 --- a/src/web/auto-reply.web-auto-reply.prefixes-and-partial-gating.test.ts +++ b/src/web/auto-reply.web-auto-reply.prefixes-and-partial-gating.test.ts @@ -1,11 +1,9 @@ import "./test-helpers.js"; -import fs from "node:fs/promises"; import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { installWebAutoReplyTestHomeHooks, installWebAutoReplyUnitTestHooks, - makeSessionStore, resetLoadConfigMock, setLoadConfigMock, } from "./auto-reply.test-harness.js";