chore: Fix types in tests 42/N.

This commit is contained in:
cpojer
2026-02-17 15:48:29 +09:00
parent 6264c5e842
commit 7d2ef131c1
24 changed files with 133 additions and 39 deletions

View File

@@ -1,4 +1,5 @@
import { describe, expect, it } from "vitest";
import type { OpenClawConfig } from "../../config/config.js";
import { resolveMemoryFlushPromptForRun } from "./memory-flush.js";
describe("resolveMemoryFlushPromptForRun", () => {
@@ -9,7 +10,7 @@ describe("resolveMemoryFlushPromptForRun", () => {
timeFormat: "12",
},
},
};
} as OpenClawConfig;
it("replaces YYYY-MM-DD using user timezone and appends current time", () => {
const prompt = resolveMemoryFlushPromptForRun({