We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44bc4e commit 330ab4bCopy full SHA for 330ab4b
packages/engine.io/test/common.js
@@ -1,5 +1,6 @@
1
-if (process.env.EIO_CLIENT === "3" && process.versions.node.startsWith("22")) {
2
- // FIXME WebSocket error with engine.io-client@3
+if (process.env.EIO_CLIENT === "3") {
+ // we need the WebSocket object provided by the "ws" library to test the SSL certs and HTTP headers so we hide the now built-in WebSocket constructor
3
+ // ref: https://nodejs.org/api/globals.html#class-websocket
4
global.WebSocket = null;
5
}
6
0 commit comments