mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix tests more
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
44614b8d77
commit
1e459dc501
@ -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",
|
||||||
() => ({
|
() => ({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user