1
0
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:
Gabriel 2023-05-12 18:27:43 +02:00 committed by Gabriel Accettola
parent 8445d6eabc
commit cc94b69860
4 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ describe("analytics for installing update", () => {
mainDi.override(publishIsConfiguredInjectable, () => true);
mainDi.unoverride(emitEventInjectable);
// mainDi.unoverride(emitEventInjectable);
const eventBus = mainDi.inject(appEventBusInjectable);

View File

@ -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",

View File

@ -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);

View File

@ -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);
});