import { render } from "@testing-library/react"; import { ActivationWindowMessage } from "content-src/components/ActivationWindowMessage/ActivationWindowMessage"; describe("", () => { it("should render", () => { const props = { dispatch: jest.fn(), handleBlock: jest.fn(), handleClick: jest.fn(), handleDismiss: jest.fn(), messageData: { content: {} }, }; const { container } = render(); expect( container.querySelector(".activation-window-message") ).toBeInTheDocument(); }); });