summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-09-09 21:33:38 +0200
committerGitHub <noreply@github.com>2020-09-09 21:33:38 +0200
commita3bcdb2b69bdaa9b616df6db07f1c88c8b578fb2 (patch)
tree6a7732bdcf683e25dc4b4af4946ff4f58b432e3b /std/ws/test.ts
parent0d126930cab8167f42ad8607faa202b30b42c680 (diff)
chore(std): remove std/ws connect method (#7403)
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";