diff --git a/src/behaviours/preferences/__snapshots__/navigation-to-extension-specific-preferences.test.tsx.snap b/src/behaviours/preferences/__snapshots__/navigation-to-extension-specific-preferences.test.tsx.snap
index dbf45087b1..202ac3ca01 100644
--- a/src/behaviours/preferences/__snapshots__/navigation-to-extension-specific-preferences.test.tsx.snap
+++ b/src/behaviours/preferences/__snapshots__/navigation-to-extension-specific-preferences.test.tsx.snap
@@ -105,7 +105,7 @@ exports[`preferences - navigation to extension specific preferences given in pre
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
-
+
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
-
+
Some preference item
-
+
{
let applicationBuilder: ApplicationBuilder;
@@ -25,10 +24,10 @@ describe("preferences - navigation to extension specific preferences", () => {
} 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));
});
});