try fix unit test type

This commit is contained in:
MathieuG-P
2025-01-11 12:55:05 +01:00
parent e89333ea09
commit 1732191be3
+1 -1
View File
@@ -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";