mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Fix test failures: provide isIntialSyncComplete on mock client (#10122)
This commit is contained in:
parent
2501dad0a3
commit
c4a6cc8e65
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue