You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Use getChildren instead of getSpaceSummary as MSC2946 has moved on
This commit is contained in:
@@ -86,7 +86,9 @@ export function createTestClient() {
|
||||
isCryptoEnabled: () => false,
|
||||
getSpaceSummary: jest.fn().mockReturnValue({
|
||||
rooms: [],
|
||||
events: [],
|
||||
}),
|
||||
getRoomChildren: jest.fn().mockReturnValue({
|
||||
rooms: [],
|
||||
}),
|
||||
|
||||
// Used by various internal bits we aren't concerned with (yet)
|
||||
|
||||
Reference in New Issue
Block a user