1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Mock usage of getRoomUpgradeHistory in SpaceStore tests

This commit is contained in:
Michael Telatynski
2021-10-08 10:30:46 +01:00
parent 5dfe53920c
commit 82ad85a974
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ export function createTestClient() {
isUserIgnored: jest.fn().mockReturnValue(false),
getCapabilities: jest.fn().mockResolvedValue({}),
supportsExperimentalThreads: () => false,
getRoomUpgradeHistory: jest.fn().mockReturnValue([]),
};
}