1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Fix some features not being configurable via features (#10276)

This commit is contained in:
Michael Telatynski
2023-03-03 13:31:51 +00:00
committed by GitHub
parent 6746ce2da3
commit ad8d27d2b2
12 changed files with 329 additions and 61 deletions

View File

@ -509,6 +509,7 @@ export function mkStubRoom(
return {
canInvite: jest.fn(),
client,
findThreadForEvent: jest.fn(),
createThreadsTimelineSets: jest.fn().mockReturnValue(new Promise(() => {})),
currentState: {
getStateEvents: jest.fn((_type, key) => (key === undefined ? [] : null)),