import React from "react";
import { render } from "@testing-library/react";
import { MessagePanelWithGraphic } from "..";
import { PrimaryButton, SecondaryButton } from "../../button";
describe("MessagePanelWithGraphic", () => {
it("default", () => {
const { asFragment } = render(
Body content
);
expect(asFragment()).toMatchSnapshot();
});
it("renders with primary and secondary actions", () => {
const { asFragment } = render(
Primary}
secondaryAction={Secondary}
>
Body content
);
expect(asFragment()).toMatchSnapshot();
});
});