mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
test: fix telegram transcript mock type
This commit is contained in:
@@ -52,7 +52,9 @@ const createChannelMessageReplyPipeline = vi.hoisted(() =>
|
||||
})),
|
||||
);
|
||||
const wasSentByBot = vi.hoisted(() => vi.fn(() => false));
|
||||
const appendSessionTranscriptMessage = vi.hoisted(() => vi.fn(async () => ({ messageId: "m1" })));
|
||||
const appendSessionTranscriptMessage = vi.hoisted(() =>
|
||||
vi.fn(async (_params: { message?: unknown }) => ({ messageId: "m1" })),
|
||||
);
|
||||
const emitSessionTranscriptUpdate = vi.hoisted(() => vi.fn());
|
||||
const loadSessionStore = vi.hoisted(() => vi.fn());
|
||||
const resolveStorePath = vi.hoisted(() => vi.fn(() => "/tmp/sessions.json"));
|
||||
|
||||
Reference in New Issue
Block a user