"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 ChatbotFooter_1 = __importDefault(require("./ChatbotFooter"));
require("@testing-library/jest-dom");
describe('ChatbotFooter', () => {
    it('should render ChatbotFooter with children', () => {
        (0, react_2.render)(react_1.default.createElement(ChatbotFooter_1.default, null, "Chatbot Content"));
        expect(react_2.screen.getByText('Chatbot Content')).toBeTruthy();
    });
    it('should render ChatbotFooter with custom classname', () => {
        const { container } = (0, react_2.render)(react_1.default.createElement(ChatbotFooter_1.default, { className: "custom-class" }, "Chatbot Content"));
        expect(container.querySelector('.custom-class')).toBeTruthy();
    });
    it('should handle isCompact', () => {
        (0, react_2.render)(react_1.default.createElement(ChatbotFooter_1.default, { className: "custom-class", isCompact: true, "data-testid": "footer" }, "Chatbot Content"));
        expect(react_2.screen.getByTestId('footer')).toHaveClass('pf-m-compact');
    });
});
