fix(app): keep browser relay WebSockets protocol-neutral (#2976)

Use the standard browser WebSocket constructor without the Node/React Native options object, while retaining the options-capable factory for supported runtimes and the desktop bridge.
This commit is contained in:
Mohamed Boudra
2026-08-07 17:30:43 +08:00
committed by GitHub
parent 75a5065bb3
commit a5184fd08a
9 changed files with 169 additions and 36 deletions
+1
View File
@@ -41,6 +41,7 @@ export default defineConfig({
instances: [{ browser: "chromium" }],
screenshotDirectory: ".vitest-screenshots",
},
globalSetup: path.resolve(__dirname, "src/runtime/websocket-test-global-setup.ts"),
},
},
],