mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:21:23 +00:00
test: remove duplicate ack-reaction none-scope branch case
This commit is contained in:
@@ -36,7 +36,7 @@ describe("shouldAckReaction", () => {
|
|||||||
).toBe(true);
|
).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("skips when scope is off or none", () => {
|
it("skips when scope is off", () => {
|
||||||
expect(
|
expect(
|
||||||
shouldAckReaction({
|
shouldAckReaction({
|
||||||
scope: "off",
|
scope: "off",
|
||||||
@@ -48,18 +48,6 @@ describe("shouldAckReaction", () => {
|
|||||||
effectiveWasMentioned: true,
|
effectiveWasMentioned: true,
|
||||||
}),
|
}),
|
||||||
).toBe(false);
|
).toBe(false);
|
||||||
|
|
||||||
expect(
|
|
||||||
shouldAckReaction({
|
|
||||||
scope: "none",
|
|
||||||
isDirect: true,
|
|
||||||
isGroup: true,
|
|
||||||
isMentionableGroup: true,
|
|
||||||
requireMention: true,
|
|
||||||
canDetectMention: true,
|
|
||||||
effectiveWasMentioned: true,
|
|
||||||
}),
|
|
||||||
).toBe(false);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("defaults to group-mentions gating", () => {
|
it("defaults to group-mentions gating", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user