Skip to content

Commit bd34afb

Browse files
authored
test(websocket): fix ws import (#1126)
1 parent 1114f95 commit bd34afb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/e2e/websocket.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as getPort from 'get-port';
22
import * as http from 'http';
3-
import * as WebSocket from 'ws';
4-
import { Server as WebSocketServer } from 'ws';
3+
import { WebSocket, WebSocketServer } from 'ws';
54

65
import type { RequestHandler } from '../../src/types';
76
import { createApp, createProxyMiddleware } from './test-kit';

0 commit comments

Comments
 (0)