diff --git a/benchmark/websocket/simple.js b/benchmark/websocket/simple.js index 1147602a7b1ea7..982f6bc83338e2 100644 --- a/benchmark/websocket/simple.js +++ b/benchmark/websocket/simple.js @@ -3,7 +3,6 @@ const common = require('../common.js'); const crypto = require('crypto'); const http = require('http'); -const { WebSocket } = require('../../deps/undici/undici'); const GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'; diff --git a/test/common/index.js b/test/common/index.js index 2ac981608b4e92..74e583603fda3b 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -369,9 +369,6 @@ if (global.ReadableStream) { global.DecompressionStream, ); } -if (global.WebSocket) { - knownGlobals.push(WebSocket); -} function allowGlobals(...allowlist) { knownGlobals = knownGlobals.concat(allowlist);