From 9f4a9e3e261daf32fa50a9b009868c4860d8fe44 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Fri, 21 Nov 2025 13:47:10 -0800 Subject: [PATCH] Fix broken test --- browser_tests/fixtures/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_tests/fixtures/ws.ts b/browser_tests/fixtures/ws.ts index f1ab1a538..cc1f88ca1 100644 --- a/browser_tests/fixtures/ws.ts +++ b/browser_tests/fixtures/ws.ts @@ -29,7 +29,7 @@ export const webSocketFixture = base.extend<{ function ([data, url]) { if (!url) { // If no URL specified, use page URL - const u = new URL(window.location.toString()) + const u = new URL(window.location.toString().split('#')[0]) u.protocol = 'ws:' u.pathname = '/' url = u.toString() + 'ws'