chore: fix linting issues in ack-reaction feature

- Remove unused mock variables in tests
- Remove unused ackReactionScope variables in simple test cases
- Fix line length for ackReactionScope declaration
- All lint checks passing (0 warnings, 0 errors)
- All tests passing (8/8)
This commit is contained in:
sheeek authored and Peter Steinberger committed 2026-01-11 04:10:43 +01:00
1 parent c3587d6cae
commit d38b232724
2 files changed
+2 -9

No files matched your search

+2 -1
View File
@@ -1389,7 +1389,8 @@ export async function monitorWebProvider(
// Send ack reaction after successful reply
const ackReaction = (cfg.messages?.ackReaction ?? "").trim();
const ackReactionScope = cfg.messages?.ackReactionScope ?? "group-mentions";
const ackReactionScope =
cfg.messages?.ackReactionScope ?? "group-mentions";
const shouldAckReaction = () => {
if (!ackReaction) return false;
if (!msg.id) return false;