mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 19:43:02 +00:00
test: count followup delivery calls
This commit is contained in:
@@ -1556,7 +1556,7 @@ describe("createFollowupRunner messaging delivery and dedupe", () => {
|
||||
} as FollowupRun,
|
||||
});
|
||||
|
||||
expect(routeReplyMock).toHaveBeenCalled();
|
||||
expect(routeReplyMock).toHaveBeenCalledTimes(1);
|
||||
expect(onBlockReply).toHaveBeenCalledTimes(1);
|
||||
expectBlockReplyText(onBlockReply, "hello world!");
|
||||
});
|
||||
@@ -1649,7 +1649,7 @@ describe("createFollowupRunner typing cleanup", () => {
|
||||
|
||||
await runner(baseQueuedRun());
|
||||
|
||||
expect(onBlockReply).toHaveBeenCalled();
|
||||
expect(onBlockReply).toHaveBeenCalledTimes(1);
|
||||
expectTypingCleanup(typing);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user