mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:41:22 +00:00
chore(test): fix oxlint errors
This commit is contained in:
@@ -45,7 +45,7 @@ export async function rmDirWithRetries(
|
|||||||
retryDelay: delayMs,
|
retryDelay: delayMs,
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
} catch (err) {
|
} catch {
|
||||||
// Fall back for older Node implementations (or unexpected retry behavior).
|
// Fall back for older Node implementations (or unexpected retry behavior).
|
||||||
for (let attempt = 0; attempt < attempts; attempt += 1) {
|
for (let attempt = 0; attempt < attempts; attempt += 1) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
import "./test-helpers.js";
|
import "./test-helpers.js";
|
||||||
import fs from "node:fs/promises";
|
|
||||||
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
|
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
|
||||||
import type { OpenClawConfig } from "../config/config.js";
|
import type { OpenClawConfig } from "../config/config.js";
|
||||||
import {
|
import {
|
||||||
installWebAutoReplyTestHomeHooks,
|
installWebAutoReplyTestHomeHooks,
|
||||||
installWebAutoReplyUnitTestHooks,
|
installWebAutoReplyUnitTestHooks,
|
||||||
makeSessionStore,
|
|
||||||
resetLoadConfigMock,
|
resetLoadConfigMock,
|
||||||
setLoadConfigMock,
|
setLoadConfigMock,
|
||||||
} from "./auto-reply.test-harness.js";
|
} from "./auto-reply.test-harness.js";
|
||||||
|
|||||||
Reference in New Issue
Block a user