mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing Welcome tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
1bcadafac9
commit
cf541af696
@ -26,6 +26,15 @@ import { Welcome } from "../welcome";
|
|||||||
import { TopBarRegistry, WelcomeMenuRegistry, WelcomeBannerRegistry } from "../../../../extensions/registries";
|
import { TopBarRegistry, WelcomeMenuRegistry, WelcomeBannerRegistry } from "../../../../extensions/registries";
|
||||||
import { defaultWidth } from "../welcome";
|
import { defaultWidth } from "../welcome";
|
||||||
|
|
||||||
|
jest.mock(
|
||||||
|
"electron",
|
||||||
|
() => ({
|
||||||
|
ipcRenderer: {
|
||||||
|
on: jest.fn(),
|
||||||
|
},
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
describe("<Welcome/>", () => {
|
describe("<Welcome/>", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TopBarRegistry.createInstance();
|
TopBarRegistry.createInstance();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user