Fix broken test

This commit is contained in:
Austin Mroz
2025-11-21 13:47:10 -08:00
parent af09a6311e
commit 9f4a9e3e26

View File

@@ -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'