diff options
Diffstat (limited to 'cli/tests/unit/websocket_test.ts')
-rw-r--r-- | cli/tests/unit/websocket_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit/websocket_test.ts b/cli/tests/unit/websocket_test.ts index 697f524d0..0cdc86570 100644 --- a/cli/tests/unit/websocket_test.ts +++ b/cli/tests/unit/websocket_test.ts @@ -31,8 +31,8 @@ Deno.test(async function websocketConstructorTakeURLObjectAsParameter() { Deno.test(async function websocketH2SendSmallPacket() { const promise = deferred(); - const ws = new WebSocket(new URL("wss://localhost:4248/")); - assertEquals(ws.url, "wss://localhost:4248/"); + const ws = new WebSocket(new URL("wss://localhost:4249/")); + assertEquals(ws.url, "wss://localhost:4249/"); let messageCount = 0; ws.onerror = (e) => promise.reject(e); ws.onopen = () => { @@ -53,8 +53,8 @@ Deno.test(async function websocketH2SendSmallPacket() { Deno.test(async function websocketH2SendLargePacket() { const promise = deferred(); - const ws = new WebSocket(new URL("wss://localhost:4248/")); - assertEquals(ws.url, "wss://localhost:4248/"); + const ws = new WebSocket(new URL("wss://localhost:4249/")); + assertEquals(ws.url, "wss://localhost:4249/"); let messageCount = 0; ws.onerror = (e) => promise.reject(e); ws.onopen = () => { |