style: fix biome linting in ack-reaction tests
This commit is contained in:
committed by
Peter Steinberger
parent
2daead27cf
commit
30b4c14296
@@ -191,9 +191,9 @@ describe("WhatsApp ack reaction logic", () => {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
expect(
|
expect(shouldSendReaction(cfg, { id: "m1", chatType: "direct" })).toBe(
|
||||||
shouldSendReaction(cfg, { id: "m1", chatType: "direct" }),
|
false,
|
||||||
).toBe(false);
|
);
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
shouldSendReaction(cfg, {
|
shouldSendReaction(cfg, {
|
||||||
@@ -211,9 +211,9 @@ describe("WhatsApp ack reaction logic", () => {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
expect(
|
expect(shouldSendReaction(cfg, { id: "m1", chatType: "direct" })).toBe(
|
||||||
shouldSendReaction(cfg, { id: "m1", chatType: "direct" }),
|
true,
|
||||||
).toBe(true);
|
);
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
shouldSendReaction(cfg, {
|
shouldSendReaction(cfg, {
|
||||||
@@ -230,9 +230,9 @@ describe("WhatsApp ack reaction logic", () => {
|
|||||||
const cfg: ClawdbotConfig = {
|
const cfg: ClawdbotConfig = {
|
||||||
whatsapp: { ackReaction: { emoji: "👀" } },
|
whatsapp: { ackReaction: { emoji: "👀" } },
|
||||||
};
|
};
|
||||||
expect(
|
expect(shouldSendReaction(cfg, { id: "m1", chatType: "direct" })).toBe(
|
||||||
shouldSendReaction(cfg, { id: "m1", chatType: "direct" }),
|
true,
|
||||||
).toBe(true);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should default group=mentions", () => {
|
it("should default group=mentions", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user