diff --git a/spec/unit/rust-crypto/rust-crypto.spec.ts b/spec/unit/rust-crypto/rust-crypto.spec.ts index 9d7fc913bd3..9c70eb854df 100644 --- a/spec/unit/rust-crypto/rust-crypto.spec.ts +++ b/spec/unit/rust-crypto/rust-crypto.spec.ts @@ -99,6 +99,7 @@ describe("initRustCrypto", () => { isBackupEnabled: jest.fn().mockResolvedValue(false), verifyBackup: jest.fn().mockResolvedValue({ trusted: jest.fn().mockReturnValue(false) }), getBackupKeys: jest.fn(), + getIdentity: jest.fn().mockResolvedValue(null), } as unknown as Mocked; }