mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
topbar test clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
987131562e
commit
e16282e854
@ -23,12 +23,6 @@ import React from "react";
|
|||||||
import { render } from "@testing-library/react";
|
import { render } from "@testing-library/react";
|
||||||
import "@testing-library/jest-dom/extend-expect";
|
import "@testing-library/jest-dom/extend-expect";
|
||||||
|
|
||||||
jest.mock("electron", () => ({
|
|
||||||
app: {
|
|
||||||
getPath: () => "/foo",
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
|
|
||||||
jest.mock("../../../extensions/registries");
|
jest.mock("../../../extensions/registries");
|
||||||
|
|
||||||
import { topBarRegistry } from "../../../extensions/registries";
|
import { topBarRegistry } from "../../../extensions/registries";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user