mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
Un-move mocks
This commit is contained in:
@@ -134,10 +134,10 @@ describe("<MatrixChat />", () => {
|
|||||||
getVersion: jest.fn().mockReturnValue("1"),
|
getVersion: jest.fn().mockReturnValue("1"),
|
||||||
setDeviceIsolationMode: jest.fn(),
|
setDeviceIsolationMode: jest.fn(),
|
||||||
userHasCrossSigningKeys: jest.fn(),
|
userHasCrossSigningKeys: jest.fn(),
|
||||||
// This needs to not finish immediately because we need to test the screen appears
|
|
||||||
bootstrapCrossSigning: jest.fn().mockImplementation(() => bootstrapDeferred.promise),
|
|
||||||
getActiveSessionBackupVersion: jest.fn().mockResolvedValue(null),
|
getActiveSessionBackupVersion: jest.fn().mockResolvedValue(null),
|
||||||
globalBlacklistUnverifiedDevices: false,
|
globalBlacklistUnverifiedDevices: false,
|
||||||
|
// This needs to not finish immediately because we need to test the screen appears
|
||||||
|
bootstrapCrossSigning: jest.fn().mockImplementation(() => bootstrapDeferred.promise),
|
||||||
}),
|
}),
|
||||||
secretStorage: {
|
secretStorage: {
|
||||||
isStored: jest.fn().mockReturnValue(null),
|
isStored: jest.fn().mockReturnValue(null),
|
||||||
|
|||||||
Reference in New Issue
Block a user