mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 04:36:22 +00:00
test: align telegram session mock
This commit is contained in:
@@ -1509,9 +1509,9 @@ describe("dispatchTelegramMessage draft streaming", () => {
|
||||
"Ja. Hier nochmal sauber Schritt fuer Schritt. Einen API Key kopiert man...";
|
||||
const context = createContext();
|
||||
context.ctxPayload.SessionKey = "agent:default:telegram:direct:123";
|
||||
loadSessionStore.mockReturnValue({
|
||||
sessionRows.value = {
|
||||
"agent:default:telegram:direct:123": { sessionId: "s1" },
|
||||
});
|
||||
};
|
||||
readLatestAssistantTextFromSessionTranscript.mockResolvedValue({
|
||||
text: fullAnswer,
|
||||
timestamp: Date.now() + 1_000,
|
||||
|
||||
Reference in New Issue
Block a user