mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:10:43 +00:00
test: tighten whatsapp transport activity assertion
This commit is contained in:
@@ -58,7 +58,6 @@ describe("createWebChannelStatusController", () => {
|
||||
// The gateway health policy checks `connected === true && lastTransportActivityAt != null`
|
||||
// to decide whether to run stale-socket detection. Both must be present.
|
||||
expect(last.connected).toBe(true);
|
||||
expect(last.lastTransportActivityAt).not.toBeNull();
|
||||
expect(typeof last.lastTransportActivityAt).toBe("number");
|
||||
expect(last.lastTransportActivityAt).toBe(1000);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user