Merge remote-tracking branch 'origin/develop' into dbkr/refactor_createcrosssigningdialog

This commit is contained in:
David Baker
2024-10-18 14:40:46 +01:00
48 changed files with 468 additions and 534 deletions
+1 -1
View File
@@ -130,6 +130,7 @@ export function createTestClient(): MatrixClient {
setDeviceIsolationMode: jest.fn(),
prepareToEncrypt: jest.fn(),
bootstrapCrossSigning: jest.fn(),
getActiveSessionBackupVersion: jest.fn().mockResolvedValue(null),
}),
getPushActionsForEvent: jest.fn(),
@@ -167,7 +168,6 @@ export function createTestClient(): MatrixClient {
});
}),
mxcUrlToHttp: jest.fn().mockImplementation((mxc: string) => `http://this.is.a.url/${mxc.substring(6)}`),
scheduleAllGroupSessionsForBackup: jest.fn().mockResolvedValue(undefined),
setAccountData: jest.fn(),
setRoomAccountData: jest.fn(),
setRoomTopic: jest.fn(),