1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Fix test failures: provide isIntialSyncComplete on mock client (#10122)

This commit is contained in:
Andy Balaam
2023-02-09 11:36:02 +00:00
committed by GitHub
parent 2501dad0a3
commit c4a6cc8e65

View File

@ -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);