import React from "react";
import { render } from "@testing-library/react";
import { Title } from "./index";
describe("Title", () => {
    it("renders the children correctly", () => {
        const { getByTestId } = render(React.createElement(Title, null, "Test Title"));
        expect(getByTestId("title")).toBeInTheDocument();
    });
});
//# sourceMappingURL=index.test.js.map