import React from "react";
import { render } from "@testing-library/react";
import Stack from "../components/Stack";
describe("Stack", () => {
it("renders default", () => {
const { asFragment } = render(
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.
Lorem Ipsum has been the industry's
);
expect(asFragment()).toMatchSnapshot();
});
it("renders with different spacingSize", () => {
const { asFragment } = render(
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.
Lorem Ipsum has been the industry's
);
expect(asFragment()).toMatchSnapshot();
});
it("renders with responsive spacingSize", () => {
const { asFragment } = render(
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.
Lorem Ipsum has been the industry's
);
expect(asFragment()).toMatchSnapshot();
});
it("renders with a custom tag", () => {
const { asFragment } = render(
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.
Lorem Ipsum has been the industry's
);
expect(asFragment()).toMatchSnapshot();
});
});