Update to supportsThreads (#9907)
This commit is contained in:
parent
a21929dba0
commit
3e2bf5640e
15 changed files with 16 additions and 20 deletions
|
@ -436,7 +436,7 @@ describe("EventUtils", () => {
|
|||
pendingEventOrdering: PendingEventOrdering.Detached,
|
||||
});
|
||||
|
||||
jest.spyOn(client, "supportsExperimentalThreads").mockReturnValue(true);
|
||||
jest.spyOn(client, "supportsThreads").mockReturnValue(true);
|
||||
jest.spyOn(client, "getRoom").mockReturnValue(room);
|
||||
jest.spyOn(client, "fetchRoomEvent").mockImplementation(async (roomId, eventId) => {
|
||||
return events[eventId] ?? Promise.reject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue