Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5c47142

Browse files
authored
Prep for matrix-js-sdk supporting intentional mentions. (#10431)
Add a method to the fake MatrixClient used in tests for compatibility with changes in matrix-org/matrix-js-sdk#3092. This stops the downstream tests from failing on that PR.
1 parent ed88e0c commit 5c47142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test-utils/test-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export function createTestClient(): MatrixClient {
176176
isUserIgnored: jest.fn().mockReturnValue(false),
177177
getCapabilities: jest.fn().mockResolvedValue({}),
178178
supportsThreads: () => false,
179+
supportsIntentionalMentions: () => false,
179180
getRoomUpgradeHistory: jest.fn().mockReturnValue([]),
180181
getOpenIdToken: jest.fn().mockResolvedValue(undefined),
181182
registerWithIdentityServer: jest.fn().mockResolvedValue({}),

0 commit comments

Comments
 (0)