diff --git a/src/__tests__/unit/os.test.ts b/src/__tests__/unit/os.test.ts index 06f0d93b..ec4a89bc 100644 --- a/src/__tests__/unit/os.test.ts +++ b/src/__tests__/unit/os.test.ts @@ -24,7 +24,7 @@ jest.mock("electron-log", () => ({ info: jest.fn(), error: jest.fn(), })); -jest.mock("ps-list", () => () => []); +jest.mock("ps-list", (): (() => any[]) => () => []); const IS_WINDOWS = process.platform === "win32"; const IS_LINUX = process.platform === "linux";