diff --git a/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap
index e44a035cd0..9022c3f0bd 100644
--- a/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap
+++ b/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap
@@ -107,7 +107,7 @@ exports[`preferences - navigation using application menu when navigating to pref
class="SubTitle"
>
Theme
-
+
Extension Install Registry
-
+
This setting is to change the registry URL for installing extensions by name.
-
- If you are unable to access the default registry (
- https://registry.npmjs.org
- )
-
- you can change it in your
+ If you are unable to access the default registry (https://registry.npmjs.org) you can change it in your
.npmrc
- file or in the input below.
+ file or in the input below.
Start-up
-
+
Locale Timezone
-
+
{
@@ -27,7 +26,6 @@ describe("preferences - navigation to terminal preferences", () => {
rendererDi.override(userStoreInjectable, () => userStoreStub);
rendererDi.override(defaultShellInjectable, () => "some-default-shell");
- rendererDi.permitSideEffects(themeStoreInjectable);
rendererDi.override(ipcRendererInjectable, () => ({
on: jest.fn(),
invoke: jest.fn(), // TODO: replace with proper mocking via the IPC bridge
diff --git a/src/behaviours/preferences/navigation-using-application-menu.test.ts b/src/behaviours/preferences/navigation-using-application-menu.test.ts
index e7e42ff2a9..1478dd6cd4 100644
--- a/src/behaviours/preferences/navigation-using-application-menu.test.ts
+++ b/src/behaviours/preferences/navigation-using-application-menu.test.ts
@@ -9,8 +9,7 @@ import { getApplicationBuilder } from "../../renderer/components/test-utils/get-
import isAutoUpdateEnabledInjectable from "../../main/is-auto-update-enabled.injectable";
import type { UserStore } from "../../common/user-store";
import userStoreInjectable from "../../common/user-store/user-store.injectable";
-import type { ThemeStore } from "../../renderer/themes/store";
-import themeStoreInjectable from "../../renderer/themes/store.injectable";
+import ipcRendererInjectable from "../../renderer/app-paths/get-value-from-registered-channel/ipc-renderer/ipc-renderer.injectable";
describe("preferences - navigation using application menu", () => {
let applicationBuilder: ApplicationBuilder;
@@ -27,10 +26,10 @@ describe("preferences - navigation using application menu", () => {
} as unknown as UserStore;
rendererDi.override(userStoreInjectable, () => userStoreStub);
-
- const themeStoreStub = { themeOptions: [] } as unknown as ThemeStore;
-
- rendererDi.override(themeStoreInjectable, () => themeStoreStub);
+ rendererDi.override(ipcRendererInjectable, () => ({
+ on: jest.fn(),
+ invoke: jest.fn(), // TODO: replace with proper mocking via the IPC bridge
+ } as never));
});
rendered = await applicationBuilder.render();
diff --git a/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap
index 368d132edb..d59f7d040a 100644
--- a/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap
+++ b/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap
@@ -27,16 +27,17 @@ exports[`welcome - navigation using application menu when navigating to welcome
style="width: 320px;"
>
- Welcome to
- OpenLens
- 5!
+ Welcome to OpenLens 5!
- To get you started we have auto-detected your clusters in your kubeconfig file and added them to the catalog, your centralized view for managing all your cloud-native resources.
-
-
- If you have any questions or feedback, please join our
+ To get you started we have auto-detected your clusters in your
+ kubeconfig file and added them to the catalog, your centralized
+
+ view for managing all your cloud-native resources.
+
+
+ If you have any questions or feedback, please join our