From 1fa8905401f54811e5ef7369f3644b0bd1156188 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 26 Dec 2024 13:49:47 +0530 Subject: [PATCH] Lint --- tests/unit/websocket_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/websocket_test.ts b/tests/unit/websocket_test.ts index 51cf5488a8..3dad8fa8bd 100644 --- a/tests/unit/websocket_test.ts +++ b/tests/unit/websocket_test.ts @@ -823,7 +823,7 @@ Deno.test("send to a closed socket", async () => { }); Deno.test(async function websocketDoesntLeak() { - const { promise, resolve, reject } = Promise.withResolvers(); + const { promise, resolve } = Promise.withResolvers(); const ws = new WebSocket(new URL("ws://localhost:4242/")); assertEquals(ws.url, "ws://localhost:4242/"); ws.onopen = () => resolve();