chore(test): fix oxlint errors

This commit is contained in:
Peter Steinberger
2026-02-14 21:49:33 +00:00
parent 53cc623481
commit 13cb1bb020
2 changed files with 1 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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";