fix: resolve post-rebase gate follow-ups for #60081

This commit is contained in:
Peter Steinberger 2026-04-04 00:47:03 +09:00
parent bf6bd7432a
commit b7f524abaa
1 changed files with 16 additions and 1 deletions

View File

@ -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",
}),
);
});
});