From f27ef39716752b0e73c93e347a3263ae6e9287a9 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Wed, 18 May 2022 11:09:33 +0300 Subject: [PATCH] Remove redundant global override Co-authored-by: Mikko Aspiala Signed-off-by: Janne Savolainen --- src/renderer/getDiForUnitTesting.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/renderer/getDiForUnitTesting.tsx b/src/renderer/getDiForUnitTesting.tsx index 0208dec95f..1b9f1a6c39 100644 --- a/src/renderer/getDiForUnitTesting.tsx +++ b/src/renderer/getDiForUnitTesting.tsx @@ -43,7 +43,6 @@ import type { IpcRenderer } from "electron"; import setupOnApiErrorListenersInjectable from "./api/setup-on-api-errors.injectable"; import { observable } from "mobx"; import defaultShellInjectable from "./components/+preferences/default-shell.injectable"; -import themeStoreInjectable from "./themes/store.injectable"; import notificationListenerInjectable from "./components/notifications/notification-listener.injectable"; import { notificationChannel } from "../common/notification/notification-channel"; @@ -135,14 +134,6 @@ export const getDiForUnitTesting = (opts: GetDiForUnitTestingOptions = {}) => { info: noop, silly: noop, })); - - di.override(themeStoreInjectable, () => ({ - activeTheme: { - type: "some-active-theme-type", - }, - - themeOptions: [], - })); } return di;