so test passes again
This commit is contained in:
David Baker 2024-12-02 15:08:35 +00:00
parent 6bff653339
commit b5ae775d8f

View file

@ -281,6 +281,7 @@ export function createTestClient(): MatrixClient {
getLocalAliases: jest.fn().mockReturnValue([]), getLocalAliases: jest.fn().mockReturnValue([]),
uploadDeviceSigningKeys: jest.fn(), uploadDeviceSigningKeys: jest.fn(),
isKeyBackupKeyStored: jest.fn().mockResolvedValue(null), isKeyBackupKeyStored: jest.fn().mockResolvedValue(null),
getKeyBackupVersion: jest.fn(),
} as unknown as MatrixClient; } as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client); client.reEmitter = new ReEmitter(client);