mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 02:51:24 +00:00
chore: Fix types in tests 33/N.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user