mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 08:11:09 +00:00
fix: resolve post-rebase gate follow-ups for #60081
This commit is contained in:
@@ -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",
|
||||
}),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user