From 9f985c5f631226d117b9e7917bf8d8b678228f7d Mon Sep 17 00:00:00 2001 From: Steven Chim <655241+chimurai@users.noreply.github.com> Date: Wed, 2 Jul 2025 19:08:01 +0000 Subject: [PATCH] test(websocket): fix ws import --- test/e2e/websocket.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/e2e/websocket.spec.ts b/test/e2e/websocket.spec.ts index 94874b4e..c8525ba8 100644 --- a/test/e2e/websocket.spec.ts +++ b/test/e2e/websocket.spec.ts @@ -1,7 +1,6 @@ import * as getPort from 'get-port'; import * as http from 'http'; -import * as WebSocket from 'ws'; -import { Server as WebSocketServer } from 'ws'; +import { WebSocket, WebSocketServer } from 'ws'; import type { RequestHandler } from '../../src/types'; import { createApp, createProxyMiddleware } from './test-kit';