Use getChildren instead of getSpaceSummary as MSC2946 has moved on
This commit is contained in:
parent
ef8d2e8257
commit
6f37e8b223
3 changed files with 42 additions and 35 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue