chore: Fix types in tests 33/N.

This commit is contained in:
cpojer
2026-02-17 15:45:36 +09:00
parent f44b58fd58
commit 49bd9f75f4
21 changed files with 148 additions and 42 deletions

View File

@@ -75,13 +75,13 @@ describe("heartbeat transcript pruning", () => {
});
// Run heartbeat
const cfg: OpenClawConfig = {
const cfg = {
version: 1,
model: "test-model",
agent: { workspace: tmpDir },
sessionStore: storePath,
channels: { telegram: { showOk: true, showAlerts: true } },
};
channels: { telegram: {} },
} as unknown as OpenClawConfig;
await runHeartbeatOnce({
agentId: undefined,
@@ -123,13 +123,13 @@ describe("heartbeat transcript pruning", () => {
});
// Run heartbeat
const cfg: OpenClawConfig = {
const cfg = {
version: 1,
model: "test-model",
agent: { workspace: tmpDir },
sessionStore: storePath,
channels: { telegram: { showOk: true, showAlerts: true } },
};
channels: { telegram: {} },
} as unknown as OpenClawConfig;
await runHeartbeatOnce({
agentId: undefined,