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
-
+
{
let applicationBuilder: ApplicationBuilder;
@@ -45,10 +44,10 @@ describe("preferences - closing-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));
rendererDi.override(navigateToFrontPageInjectable, (di) => {
const navigateToRoute = di.inject(navigateToRouteInjectionToken);