mirror of https://github.com/openclaw/openclaw.git
fix: resolve post-rebase gate follow-ups for #60081
This commit is contained in:
parent
bf6bd7432a
commit
b7f524abaa
|
|
@ -543,7 +543,22 @@ describe("processDiscordMessage ack reactions", () => {
|
|||
await runProcessDiscordMessage(ctx);
|
||||
|
||||
expect(getReactionEmojis()).toEqual(["👀"]);
|
||||
expect(sendMocks.removeReactionDiscord).toHaveBeenCalledWith("c1", "m1", "👀", { rest: {} });
|
||||
expect(sendMocks.removeReactionDiscord).toHaveBeenNthCalledWith(
|
||||
2,
|
||||
"c1",
|
||||
"m1",
|
||||
"👀",
|
||||
expect.objectContaining({
|
||||
rest: {},
|
||||
cfg: expect.objectContaining({
|
||||
messages: expect.objectContaining({
|
||||
ackReaction: "👀",
|
||||
removeAckAfterReply: true,
|
||||
}),
|
||||
}),
|
||||
accountId: "default",
|
||||
}),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue