From a3bcdb2b69bdaa9b616df6db07f1c88c8b578fb2 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 9 Sep 2020 21:33:38 +0200 Subject: chore(std): remove std/ws connect method (#7403) --- std/ws/test.ts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'std/ws/test.ts') 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 => { - await assertThrowsAsync( - async (): Promise => { - 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"; -- cgit v1.2.3