diff --git a/test/test-utils/test-utils.ts b/test/test-utils/test-utils.ts index 883d1fa7ebe..e83d832f28b 100644 --- a/test/test-utils/test-utils.ts +++ b/test/test-utils/test-utils.ts @@ -115,6 +115,7 @@ export function createTestClient(): MatrixClient { }, getCrypto: jest.fn().mockReturnValue({ + checkKeyBackupAndEnable: jest.fn().mockResolvedValue(null), getOwnDeviceKeys: jest.fn(), getUserDeviceInfo: jest.fn().mockResolvedValue(new Map()), getUserVerificationStatus: jest.fn(),