aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_node_page_pairing.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_node_page_pairing.py')
-rw-r--r--packages/meshbay-hub/tests/test_node_page_pairing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_node_page_pairing.py b/packages/meshbay-hub/tests/test_node_page_pairing.py
index c716e0a..ac77356 100644
--- a/packages/meshbay-hub/tests/test_node_page_pairing.py
+++ b/packages/meshbay-hub/tests/test_node_page_pairing.py
@@ -56,7 +56,7 @@ def test_pair_this_browser_queues_the_code_instead_of_claiming_success():
pair = src.split("const doPairOperator = useCallback(", 1)[1].split("}, [refresh]);", 1)[0]
assert "session.pendingJoinCode = result.code;" in pair
assert "setOperatorPaired(true)" not in pair
- assert "import { HUB, session } from './hub-client.js';" in src
+ assert re.search(r"import \{ HUB, session(, \w+)* \} from './hub-client.js';", src)
def test_no_pairing_banner_for_a_node_with_no_group_yet():