import React from "react";
import { render } from "@testing-library/react";
import { NoDataContent } from "./index";
describe("NoDataContent", () => {
    it("renders the provided text", () => {
        const testText = "No data available";
        const { getByTestId } = render(React.createElement(NoDataContent, { text: testText }));
        const noDataElement = getByTestId("no-data-content");
        expect(noDataElement).toBeInTheDocument();
        expect(noDataElement).toHaveTextContent(testText);
    });
});
//# sourceMappingURL=index.test.js.map