From 1732191be3ceed4fa09fd7c206c533d2704c6c29 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sat, 11 Jan 2025 12:55:05 +0100 Subject: [PATCH] try fix unit test type --- src/__tests__/unit/os.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/unit/os.test.ts b/src/__tests__/unit/os.test.ts index 616b14b6..28c3e4eb 100644 --- a/src/__tests__/unit/os.test.ts +++ b/src/__tests__/unit/os.test.ts @@ -23,7 +23,7 @@ jest.mock("electron-log", () => ({ info: jest.fn(), error: jest.fn(), })); -jest.mock("ps-list", () => () => []); +jest.mock("ps-list", () => (): unknown[] => []); const IS_WINDOWS = process.platform === "win32"; const IS_LINUX = process.platform === "linux";