Skip to content

Commit

Permalink
add missing mock
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Mar 4, 2024
1 parent eebd5e1 commit 4c76d71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/unit/rust-crypto/rust-crypto.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<OlmMachine>;
}

Expand Down

0 comments on commit 4c76d71

Please sign in to comment.