From b5ae775d8f57bd70395c476f9034bff7d295d498 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 2 Dec 2024 15:08:35 +0000 Subject: [PATCH] Add mock so test passes again --- test/test-utils/test-utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-utils/test-utils.ts b/test/test-utils/test-utils.ts index f9aee512a3..3879f8af81 100644 --- a/test/test-utils/test-utils.ts +++ b/test/test-utils/test-utils.ts @@ -281,6 +281,7 @@ export function createTestClient(): MatrixClient { getLocalAliases: jest.fn().mockReturnValue([]), uploadDeviceSigningKeys: jest.fn(), isKeyBackupKeyStored: jest.fn().mockResolvedValue(null), + getKeyBackupVersion: jest.fn(), } as unknown as MatrixClient; client.reEmitter = new ReEmitter(client);