Skip to content

Commit

Permalink
Add mock here too
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Oct 17, 2024
1 parent eec4628 commit 4178c11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit-tests/components/structures/MatrixChat-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,7 @@ describe("<MatrixChat />", () => {
.mockResolvedValue(new UserVerificationStatus(false, false, false)),
setDeviceIsolationMode: jest.fn(),
userHasCrossSigningKeys: jest.fn().mockResolvedValue(false),
bootstrapCrossSigning: jest.fn(),
};
loginClient.getCrypto.mockReturnValue(mockCrypto as any);
});
Expand Down

0 comments on commit 4178c11

Please sign in to comment.