"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_2 = require("@testing-library/react");
const ReadMore_1 = require("../ReadMore");
describe('ReadMore component', () => {
    it('renders children', async () => {
        (0, react_2.render)(react_1.default.createElement(ReadMore_1.ReadMore, { id: "readmoretest", expandLabel: "expand", collapseLabel: "hide" }, "Hidden children"));
        expect(await react_2.screen.getByText(/Hidden children/)).toBeInTheDocument();
    });
});
