mirror of
https://github.com/lensapp/lens.git
synced 2024-10-26 09:47:18 +03:00
chore: half remove unoverride, more to follow
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
parent
8445d6eabc
commit
cc94b69860
@ -52,7 +52,7 @@ describe("analytics for installing update", () => {
|
||||
|
||||
mainDi.override(publishIsConfiguredInjectable, () => true);
|
||||
|
||||
mainDi.unoverride(emitEventInjectable);
|
||||
// mainDi.unoverride(emitEventInjectable);
|
||||
|
||||
const eventBus = mainDi.inject(appEventBusInjectable);
|
||||
|
||||
|
@ -13,7 +13,7 @@ describe("get-electron-app-path", () => {
|
||||
beforeEach(() => {
|
||||
const di = getDiForUnitTesting();
|
||||
|
||||
di.unoverride(getElectronAppPathInjectable);
|
||||
// di.unoverride(getElectronAppPathInjectable);
|
||||
|
||||
const appStub = {
|
||||
name: "some-app-name",
|
||||
|
@ -27,7 +27,7 @@ describe("Helm Service tests", () => {
|
||||
|
||||
di.override(getActiveHelmRepositoriesInjectable, () => getActiveHelmRepositoriesMock);
|
||||
|
||||
di.unoverride(listHelmChartsInjectable);
|
||||
// di.unoverride(listHelmChartsInjectable);
|
||||
di.permitSideEffects(listHelmChartsInjectable);
|
||||
|
||||
listHelmCharts = di.inject(listHelmChartsInjectable);
|
||||
|
@ -12,7 +12,7 @@ describe("get-editor-height-from-lines-number", () => {
|
||||
beforeEach(() => {
|
||||
const di = getDiForUnitTesting();
|
||||
|
||||
di.unoverride(getEditorHeightFromLinesCountInjectable);
|
||||
// di.unoverride(getEditorHeightFromLinesCountInjectable);
|
||||
|
||||
getEditorHeightFromLinesNumber = di.inject(getEditorHeightFromLinesCountInjectable);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user