chore: half remove unoverride, more to follow

Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
Gabriel authored and Gabriel Accettola committed 2023-05-12 19:57:06 +02:00
1 parent 8445d6eabc
commit cc94b69860
4 files changed
+4 -4

No files matched your search

@@ -52,7 +52,7 @@ describe("analytics for installing update", () => {
mainDi.override(publishIsConfiguredInjectable, () => true); mainDi.override(publishIsConfiguredInjectable, () => true);
mainDi.unoverride(emitEventInjectable); // mainDi.unoverride(emitEventInjectable);
const eventBus = mainDi.inject(appEventBusInjectable); const eventBus = mainDi.inject(appEventBusInjectable);
@@ -13,7 +13,7 @@ describe("get-electron-app-path", () => {
beforeEach(() => { beforeEach(() => {
const di = getDiForUnitTesting(); const di = getDiForUnitTesting();
di.unoverride(getElectronAppPathInjectable); // di.unoverride(getElectronAppPathInjectable);
const appStub = { const appStub = {
name: "some-app-name", name: "some-app-name",
@@ -27,7 +27,7 @@ describe("Helm Service tests", () => {
di.override(getActiveHelmRepositoriesInjectable, () => getActiveHelmRepositoriesMock); di.override(getActiveHelmRepositoriesInjectable, () => getActiveHelmRepositoriesMock);
di.unoverride(listHelmChartsInjectable); // di.unoverride(listHelmChartsInjectable);
di.permitSideEffects(listHelmChartsInjectable); di.permitSideEffects(listHelmChartsInjectable);
listHelmCharts = di.inject(listHelmChartsInjectable); listHelmCharts = di.inject(listHelmChartsInjectable);
@@ -12,7 +12,7 @@ describe("get-editor-height-from-lines-number", () => {
beforeEach(() => { beforeEach(() => {
const di = getDiForUnitTesting(); const di = getDiForUnitTesting();
di.unoverride(getEditorHeightFromLinesCountInjectable); // di.unoverride(getEditorHeightFromLinesCountInjectable);
getEditorHeightFromLinesNumber = di.inject(getEditorHeightFromLinesCountInjectable); getEditorHeightFromLinesNumber = di.inject(getEditorHeightFromLinesCountInjectable);
}); });