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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)),