test: tighten whatsapp transport activity assertion · openclaw/openclaw@a8bbfdc
shakkernerd
·
2026-05-08
·
via Recent Commits to openclaw:main
File tree
extensions/whatsapp/src/auto-reply
| Original file line number | Diff line number | Diff line change |
|---|
@@ -58,7 +58,6 @@ describe("createWebChannelStatusController", () => {
|
58 | 58 | // The gateway health policy checks `connected === true && lastTransportActivityAt != null` |
59 | 59 | // to decide whether to run stale-socket detection. Both must be present. |
60 | 60 | expect(last.connected).toBe(true); |
61 | | -expect(last.lastTransportActivityAt).not.toBeNull(); |
62 | | -expect(typeof last.lastTransportActivityAt).toBe("number"); |
| 61 | +expect(last.lastTransportActivityAt).toBe(1000); |
63 | 62 | }); |
64 | 63 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。