summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws/test.ts')
-rw-r--r--std/ws/test.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/std/ws/test.ts b/std/ws/test.ts
index 87cf549ec..787cb76e2 100644
--- a/std/ws/test.ts
+++ b/std/ws/test.ts
@@ -5,7 +5,6 @@ import { TextProtoReader } from "../textproto/mod.ts";
import * as bytes from "../bytes/mod.ts";
import {
acceptable,
- connectWebSocket,
createSecAccept,
createSecKey,
handshake,
@@ -194,17 +193,6 @@ Deno.test("[ws] acceptable should return false when headers invalid", () => {
);
});
-Deno.test(
- "[ws] connectWebSocket should throw invalid scheme of url",
- async (): Promise<void> => {
- await assertThrowsAsync(
- async (): Promise<void> => {
- await connectWebSocket("file://hoge/hoge");
- },
- );
- },
-);
-
Deno.test("[ws] write and read masked frame", async () => {
const mask = new Uint8Array([0, 1, 2, 3]);
const msg = "hello";