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:
@@ -41,6 +41,7 @@ export default defineConfig({
|
||||
instances: [{ browser: "chromium" }],
|
||||
screenshotDirectory: ".vitest-screenshots",
|
||||
},
|
||||
globalSetup: path.resolve(__dirname, "src/runtime/websocket-test-global-setup.ts"),
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user