From 43f5b725ce80a88f70ea691b92cafefac2b71b7f Mon Sep 17 00:00:00 2001 From: jerempy <95110820+jerempy@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:16:11 -0400 Subject: [PATCH] fix type lint error --- tests/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.ts b/tests/utils.ts index f6750e4..6992024 100644 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -182,7 +182,7 @@ export async function sendWsMessage( socket.onopen = (_event): void => { socket.onmessage = (event): void => { socket.terminate(); - return resolve(event.data); + return resolve(event.data as Buffer); }; socket.send(message);