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

Fix predecessor tests broken (#10123)

This commit is contained in:
Germain
2023-02-09 12:46:17 +00:00
committed by GitHub
parent c4a6cc8e65
commit 8fe5714673
3 changed files with 5 additions and 4 deletions

View File

@ -94,7 +94,7 @@ describe("RoomViewStore", function () {
getDeviceId: jest.fn().mockReturnValue("ABC123"),
sendStateEvent: jest.fn().mockResolvedValue({}),
supportsThreads: jest.fn(),
isInitialSyncComplete: jest.fn(),
isInitialSyncComplete: jest.fn().mockResolvedValue(false),
relations: jest.fn(),
});
const room = new Room(roomId, mockClient, userId);