summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
Diffstat (limited to 'std')
-rw-r--r--std/http/mock.ts1
-rw-r--r--std/ws/test.ts1
2 files changed, 0 insertions, 2 deletions
diff --git a/std/http/mock.ts b/std/http/mock.ts
index f373b4214..be07ede24 100644
--- a/std/http/mock.ts
+++ b/std/http/mock.ts
@@ -12,7 +12,6 @@ export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn {
port: 0,
},
rid: -1,
- closeRead: (): void => {},
closeWrite: (): void => {},
read: (): Promise<number | null> => {
return Promise.resolve(0);
diff --git a/std/ws/test.ts b/std/ws/test.ts
index 0d4541f62..c6e74dadc 100644
--- a/std/ws/test.ts
+++ b/std/ws/test.ts
@@ -276,7 +276,6 @@ test("[ws] ws.close() should use 1000 as close code", async () => {
function dummyConn(r: Reader, w: Writer): Conn {
return {
rid: -1,
- closeRead: (): void => {},
closeWrite: (): void => {},
read: (x): Promise<number | null> => r.read(x),
write: (x): Promise<number> => w.write(x),