mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Add mock here too
This commit is contained in:
@@ -1010,6 +1010,7 @@ describe("<MatrixChat />", () => {
|
|||||||
.mockResolvedValue(new UserVerificationStatus(false, false, false)),
|
.mockResolvedValue(new UserVerificationStatus(false, false, false)),
|
||||||
setDeviceIsolationMode: jest.fn(),
|
setDeviceIsolationMode: jest.fn(),
|
||||||
userHasCrossSigningKeys: jest.fn().mockResolvedValue(false),
|
userHasCrossSigningKeys: jest.fn().mockResolvedValue(false),
|
||||||
|
bootstrapCrossSigning: jest.fn(),
|
||||||
};
|
};
|
||||||
loginClient.getCrypto.mockReturnValue(mockCrypto as any);
|
loginClient.getCrypto.mockReturnValue(mockCrypto as any);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user