mirror of https://github.com/openclaw/openclaw.git
test(discord): use lightweight clears in message-handler setup
This commit is contained in:
parent
e36f857e46
commit
7ed3ee0a26
|
|
@ -106,10 +106,10 @@ beforeEach(() => {
|
|||
editMessageDiscord.mockClear();
|
||||
deliverDiscordReply.mockClear();
|
||||
createDiscordDraftStream.mockClear();
|
||||
dispatchInboundMessage.mockReset();
|
||||
recordInboundSession.mockReset();
|
||||
readSessionUpdatedAt.mockReset();
|
||||
resolveStorePath.mockReset();
|
||||
dispatchInboundMessage.mockClear();
|
||||
recordInboundSession.mockClear();
|
||||
readSessionUpdatedAt.mockClear();
|
||||
resolveStorePath.mockClear();
|
||||
dispatchInboundMessage.mockResolvedValue({
|
||||
queuedFinal: false,
|
||||
counts: { final: 0, tool: 0, block: 0 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue