From c4a6cc8e6506af6e1ff9cdf352a6f330cf5dc508 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Thu, 9 Feb 2023 11:36:02 +0000 Subject: [PATCH] Fix test failures: provide isIntialSyncComplete on mock client (#10122) --- test/stores/RoomViewStore-test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/stores/RoomViewStore-test.ts b/test/stores/RoomViewStore-test.ts index 370fb95bcd..d97fd8ad69 100644 --- a/test/stores/RoomViewStore-test.ts +++ b/test/stores/RoomViewStore-test.ts @@ -94,6 +94,8 @@ describe("RoomViewStore", function () { getDeviceId: jest.fn().mockReturnValue("ABC123"), sendStateEvent: jest.fn().mockResolvedValue({}), supportsThreads: jest.fn(), + isInitialSyncComplete: jest.fn(), + relations: jest.fn(), }); const room = new Room(roomId, mockClient, userId); const room2 = new Room(roomId2, mockClient, userId);