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

Add automatic space switching tests

This commit is contained in:
Michael Telatynski
2021-04-23 14:45:22 +01:00
parent 320ff7b870
commit 4446022327
2 changed files with 60 additions and 4 deletions

View File

@ -79,6 +79,10 @@ export function createTestClient() {
generateClientSecret: () => "t35tcl1Ent5ECr3T",
isGuest: () => false,
isCryptoEnabled: () => false,
getSpaceSummary: jest.fn().mockReturnValue({
rooms: [],
events: [],
}),
};
}