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

Fix tests

This commit is contained in:
Travis Ralston
2021-04-21 16:45:21 -06:00
parent 4be9c51dad
commit a53696ff5e
3 changed files with 12 additions and 2 deletions

View File

@ -79,6 +79,13 @@ export function createTestClient() {
generateClientSecret: () => "t35tcl1Ent5ECr3T",
isGuest: () => false,
isCryptoEnabled: () => false,
// Used by various internal bits we aren't concerned with (yet)
_sessionStore: {
store: {
getItem: jest.fn(),
},
},
};
}