1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Fix ThreadView tests not using thread flag (#9547)

Fixes tests failing from changes made by https://github.com/matrix-org/matrix-js-sdk/pull/2856
This commit is contained in:
Eric Eastwood
2022-11-07 14:21:49 -06:00
committed by GitHub
parent 36a574a14f
commit 3cbd88c280
2 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,7 @@ describe("ThreadView", () => {
stubClient();
mockPlatformPeg();
mockClient = mocked(MatrixClientPeg.get());
jest.spyOn(mockClient, "supportsExperimentalThreads").mockReturnValue(true);
room = new Room(ROOM_ID, mockClient, mockClient.getUserId() ?? "", {
pendingEventOrdering: PendingEventOrdering.Detached,