From aaf7d3e2386c2c8d1a2535f86c66a5ac3ff90b02 Mon Sep 17 00:00:00 2001 From: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:08:47 +0200 Subject: [PATCH] fix: correct import path for git_helper module in updatenotification tests --- tests/unit/functions/updatenotification_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/functions/updatenotification_spec.js b/tests/unit/functions/updatenotification_spec.js index f6617e4bf7..e5c9654fa4 100644 --- a/tests/unit/functions/updatenotification_spec.js +++ b/tests/unit/functions/updatenotification_spec.js @@ -20,7 +20,7 @@ async function createGitHelper (fsStatSyncMockRef, loggerMockRef, execShellSpyRe vi.doMock("logger", () => loggerMockRef.current); const defaults = await import("../../../js/defaults"); - const gitHelperModule = await import(`../../../${defaults.defaultModulesDir}/updatenotification/git_helper`); + const gitHelperModule = await import(`../../../${defaults.defaultModulesDir}/updatenotification/git_helper.js`); const GitHelper = gitHelperModule.default || gitHelperModule; const instance = new GitHelper(); execShellSpyRef.current = vi.spyOn(instance, "execShell");