mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Consolidate naming for running setups
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 parent
cf87bc14d9
commit
d5ab2ab000
14 files changed
+25
-25
No files matched your search
@@ -5,7 +5,7 @@
|
||||
import { getDiForUnitTesting as getRendererDi } from "../renderer/getDiForUnitTesting";
|
||||
import { getDiForUnitTesting as getMainDi } from "../main/getDiForUnitTesting";
|
||||
import { overrideIpcBridge } from "./override-ipc-bridge";
|
||||
import { runSetupables } from "../common/setupable-injection-token/run-setupables";
|
||||
import { runSetups } from "../common/setupable-injection-token/run-setups";
|
||||
|
||||
export const getDisForUnitTesting = (
|
||||
{ doGeneralOverrides } = { doGeneralOverrides: false },
|
||||
@@ -20,6 +20,6 @@ export const getDisForUnitTesting = (
|
||||
mainDi,
|
||||
|
||||
runSetups: () =>
|
||||
Promise.all([runSetupables(rendererDi), runSetupables(mainDi)]),
|
||||
Promise.all([runSetups(rendererDi), runSetups(mainDi)]),
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user