From dcce87822a53a9e8d8e00c5f2619a052c5158f2c Mon Sep 17 00:00:00 2001 From: Joe Clark Date: Fri, 10 May 2024 10:58:58 +0100 Subject: [PATCH] worker: fix mock socket --- packages/ws-worker/src/mock/sockets.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ws-worker/src/mock/sockets.ts b/packages/ws-worker/src/mock/sockets.ts index 270b1364a..f1ba8b7cf 100644 --- a/packages/ws-worker/src/mock/sockets.ts +++ b/packages/ws-worker/src/mock/sockets.ts @@ -66,6 +66,8 @@ export const mockChannel = ( return receive; }, leave: () => {}, + onClose: () => {}, + onError: () => {}, }; return c; };