From 9a32f2ae0074c4c77727aef1a5fe799f61f07a7f Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 30 Oct 2026 11:02:41 +0100 Subject: test(hub): the chat and index probes declare a session Since 2167b7c a request needs _sessionUp; both stand-in transports set _connected only, so every request failed as a lost connection. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/harness/index_seal_probe.mjs | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/meshbay-hub/tests/harness/index_seal_probe.mjs') diff --git a/packages/meshbay-hub/tests/harness/index_seal_probe.mjs b/packages/meshbay-hub/tests/harness/index_seal_probe.mjs index 2493a055..7484f1ed 100644 --- a/packages/meshbay-hub/tests/harness/index_seal_probe.mjs +++ b/packages/meshbay-hub/tests/harness/index_seal_probe.mjs @@ -52,6 +52,7 @@ const hex = (s) => Uint8Array.from(s.match(/../g).map((b) => parseInt(b, 16))); const events = []; const tp = new window.MeshBayTransport('', 'token'); tp._connected = true; +tp._sessionUp = true; // a handshake done; requests are refused without one tp._channel = { readyState: 'open', send() {}, close() {} }; tp._pc = { close() {} }; tp._gekRaw = hex(input.gek); -- cgit v1.2.3