mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove redundant global override
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
18b1f6df35
commit
f27ef39716
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user