diff --git a/src/features/helm-charts/__snapshots__/listing-active-helm-repositories-in-preferences.test.ts.snap b/src/features/helm-charts/__snapshots__/listing-active-helm-repositories-in-preferences.test.ts.snap index 146fb371aa..2e1faa2e6b 100644 --- a/src/features/helm-charts/__snapshots__/listing-active-helm-repositories-in-preferences.test.ts.snap +++ b/src/features/helm-charts/__snapshots__/listing-active-helm-repositories-in-preferences.test.ts.snap @@ -272,7 +272,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -303,7 +303,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -850,7 +850,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -881,7 +881,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -1428,7 +1428,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -1459,7 +1459,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -1898,7 +1898,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -1929,7 +1929,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -2476,7 +2476,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -2507,7 +2507,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -2946,7 +2946,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -2977,7 +2977,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -3524,7 +3524,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -3555,7 +3555,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -4147,7 +4147,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -4178,7 +4178,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -4617,7 +4617,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -4648,7 +4648,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > @@ -5087,7 +5087,7 @@ exports[`listing active helm repositories in preferences when navigating to pref @@ -5118,7 +5118,7 @@ exports[`listing active helm repositories in preferences when navigating to pref > diff --git a/src/features/helm-charts/listing-active-helm-repositories-in-preferences.test.ts b/src/features/helm-charts/listing-active-helm-repositories-in-preferences.test.ts index c8407767ef..19aaf28938 100644 --- a/src/features/helm-charts/listing-active-helm-repositories-in-preferences.test.ts +++ b/src/features/helm-charts/listing-active-helm-repositories-in-preferences.test.ts @@ -10,7 +10,7 @@ import readYamlFileInjectable from "../../common/fs/read-yaml-file.injectable"; import type { AsyncFnMock } from "@async-fn/jest"; import asyncFn from "@async-fn/jest"; import type { HelmRepositoriesFromYaml } from "../../main/helm/repositories/get-active-helm-repositories/get-active-helm-repositories.injectable"; -import execFileInjectable from "../../common/fs/exec-file.injectable"; +import execFileInjectable, { type ExecFile } from "../../common/fs/exec-file.injectable"; import helmBinaryPathInjectable from "../../main/helm/helm-binary-path.injectable"; import loggerInjectable from "../../common/logger.injectable"; import type { Logger } from "../../common/logger"; @@ -21,7 +21,7 @@ describe("listing active helm repositories in preferences", () => { let builder: ApplicationBuilder; let rendered: RenderResult; let readYamlFileMock: AsyncFnMock; - let execFileMock: AsyncFnMock>; + let execFileMock: AsyncFnMock; let loggerStub: Logger; let showErrorNotificationMock: jest.Mock; diff --git a/src/main/getDiForUnitTesting.ts b/src/main/getDiForUnitTesting.ts index df3ca8bf87..10185938c8 100644 --- a/src/main/getDiForUnitTesting.ts +++ b/src/main/getDiForUnitTesting.ts @@ -261,7 +261,7 @@ const overrideElectronFeatures = (di: DiContainer) => { di.override( getElectronAppPathInjectable, - () => (name: string) => `some-electron-app-path-for-${kebabCase(name)}`, + () => (name: string) => `/some-electron-app-path-for-${kebabCase(name)}`, ); di.override(setElectronAppPathInjectable, () => () => {});