diff options
Diffstat (limited to 'packages/meshbay-hub/tests/harness/chat_send_probe.py')
| -rw-r--r-- | packages/meshbay-hub/tests/harness/chat_send_probe.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/meshbay-hub/tests/harness/chat_send_probe.py b/packages/meshbay-hub/tests/harness/chat_send_probe.py index e7f1dae7..2a31b748 100644 --- a/packages/meshbay-hub/tests/harness/chat_send_probe.py +++ b/packages/meshbay-hub/tests/harness/chat_send_probe.py @@ -164,6 +164,7 @@ function makeTransport(name, chatReply) { // one. 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() {} }; // What a completed MNP 2.0 handshake leaves behind: the group and its key // from `connect`, the current epoch from the sealed ack, and the device this @@ -331,6 +332,7 @@ async function runScenario(name, chatReply, duringSession) { await wait(100); tp._channel = { readyState: 'open', send() {} }; tp._connected = true; + tp._sessionUp = true; await wait(50); snap('device identity cleared'); // A live message arrives — the ordinary thing that re-renders this |