Fix tests more

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-12-08 15:35:43 +03:00
1 parent 44614b8d77
commit 1e459dc501
1 file changed
+6
@@ -25,6 +25,12 @@ import "@testing-library/jest-dom/extend-expect";
import { TopBar } from "../topbar"; import { TopBar } from "../topbar";
import { TopBarRegistry } from "../../../../extensions/registries"; import { TopBarRegistry } from "../../../../extensions/registries";
jest.mock("../../../../common/vars", () => {
return {
isMac: true,
};
});
jest.mock( jest.mock(
"electron", "electron",
() => ({ () => ({