test: tighten whatsapp group gating assertions · openclaw/openclaw@8ec1c3c
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
File tree
extensions/whatsapp/src/auto-reply/monitor
| Original file line number | Diff line number | Diff line change |
|---|
@@ -95,9 +95,13 @@ describe("applyGroupGating audio preflight mention text", () => {
|
95 | 95 | |
96 | 96 | expect(result).toEqual({ shouldProcess: false }); |
97 | 97 | expect(groupHistories.get("whatsapp:group:1203630")).toEqual([ |
98 | | -expect.objectContaining({ |
| 98 | +{ |
| 99 | +sender: "Alice (+15550000002)", |
99 | 100 | body: "please summarize the thread", |
100 | | -}), |
| 101 | +timestamp: 1700000000, |
| 102 | +id: "msg-1", |
| 103 | +senderJid: undefined, |
| 104 | +}, |
101 | 105 | ]); |
102 | 106 | }); |
103 | 107 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。