aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/harness/index_seal_probe.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/harness/index_seal_probe.mjs')
-rw-r--r--packages/meshbay-hub/tests/harness/index_seal_probe.mjs1
1 files changed, 1 insertions, 0 deletions
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);