mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: remove commented code
Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
parent
3714fb24c1
commit
0c7a0b3787
@ -18,7 +18,6 @@ import downloadPlatformUpdateInjectable from "./main/download-update/download-pl
|
||||
import quitAndInstallUpdateInjectable from "./main/quit-and-install-update.injectable";
|
||||
import periodicalCheckForUpdatesInjectable from "./child-features/periodical-checking-of-updates/main/periodical-check-for-updates.injectable";
|
||||
import { advanceFakeTime, testUsingFakeTime } from "../../test-utils/use-fake-time";
|
||||
// import emitEventInjectable from "../../common/app-event-bus/emit-event.injectable";
|
||||
import getBuildVersionInjectable from "../../main/electron-app/features/get-build-version.injectable";
|
||||
|
||||
describe("analytics for installing update", () => {
|
||||
@ -52,8 +51,6 @@ describe("analytics for installing update", () => {
|
||||
|
||||
mainDi.override(publishIsConfiguredInjectable, () => true);
|
||||
|
||||
// mainDi.unoverride(emitEventInjectable);
|
||||
|
||||
const eventBus = mainDi.inject(appEventBusInjectable);
|
||||
|
||||
eventBus.addListener(analyticsListenerMock);
|
||||
|
||||
@ -13,8 +13,6 @@ describe("get-electron-app-path", () => {
|
||||
beforeEach(() => {
|
||||
const di = getDiForUnitTesting();
|
||||
|
||||
// di.unoverride(getElectronAppPathInjectable);
|
||||
|
||||
const appStub = {
|
||||
name: "some-app-name",
|
||||
|
||||
|
||||
@ -27,7 +27,6 @@ describe("Helm Service tests", () => {
|
||||
|
||||
di.override(getActiveHelmRepositoriesInjectable, () => getActiveHelmRepositoriesMock);
|
||||
|
||||
// di.unoverride(listHelmChartsInjectable);
|
||||
di.permitSideEffects(listHelmChartsInjectable);
|
||||
|
||||
listHelmCharts = di.inject(listHelmChartsInjectable);
|
||||
|
||||
@ -12,8 +12,6 @@ describe("get-editor-height-from-lines-number", () => {
|
||||
beforeEach(() => {
|
||||
const di = getDiForUnitTesting();
|
||||
|
||||
// di.unoverride(getEditorHeightFromLinesCountInjectable);
|
||||
|
||||
getEditorHeightFromLinesNumber = di.inject(getEditorHeightFromLinesCountInjectable);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user