From 35134d8533b5502dadf9e4173d940afa19f8dabc Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 21 Oct 2024 17:05:20 +0100 Subject: [PATCH] Un-move mocks --- test/unit-tests/components/structures/MatrixChat-test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit-tests/components/structures/MatrixChat-test.tsx b/test/unit-tests/components/structures/MatrixChat-test.tsx index e020ec42ac5..1c7247602da 100644 --- a/test/unit-tests/components/structures/MatrixChat-test.tsx +++ b/test/unit-tests/components/structures/MatrixChat-test.tsx @@ -134,10 +134,10 @@ describe("", () => { getVersion: jest.fn().mockReturnValue("1"), setDeviceIsolationMode: 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), globalBlacklistUnverifiedDevices: false, + // This needs to not finish immediately because we need to test the screen appears + bootstrapCrossSigning: jest.fn().mockImplementation(() => bootstrapDeferred.promise), }), secretStorage: { isStored: jest.fn().mockReturnValue(null),