diff --git a/src/renderer/components/layout/__tests__/topbar.test.tsx b/src/renderer/components/layout/__tests__/topbar.test.tsx
index db71135658..c519d6b881 100644
--- a/src/renderer/components/layout/__tests__/topbar.test.tsx
+++ b/src/renderer/components/layout/__tests__/topbar.test.tsx
@@ -41,9 +41,16 @@ jest.mock(
}
),
},
+ app: {
+ getPath: () => "tmp",
+ },
})
);
+jest.mock("../../+catalog", () => ({
+ previousActiveTab: jest.fn()
+}));
+
const goBack = jest.fn();
const goForward = jest.fn();
@@ -76,6 +83,12 @@ describe("