From f8100e857abe1df52f97537c20519226d1c801c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pontus=20Fagerstr=C3=B6m?= Date: Thu, 17 Aug 2023 12:16:55 +0200 Subject: [PATCH] update unit-test --- __tests__/unit-tests/RoomServerConnection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/unit-tests/RoomServerConnection.test.ts b/__tests__/unit-tests/RoomServerConnection.test.ts index 1c97a8e..19b9a4b 100644 --- a/__tests__/unit-tests/RoomServerConnection.test.ts +++ b/__tests__/unit-tests/RoomServerConnection.test.ts @@ -136,7 +136,7 @@ test('request() - should ', async () => { connection: mockConn }; const requestSpy = jest.spyOn(mockConn, 'request'); - const fakeMessage = 'msg' as unknown as SocketMessage; + const fakeMessage = { data: {} } as unknown as SocketMessage; const sut = new RoomServerConnection(options);