"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = 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_1.render)((0, jsx_runtime_1.jsx)(ChatbotFooter_1.default, { children: "Chatbot Content" }));
        expect(react_1.screen.getByText('Chatbot Content')).toBeTruthy();
    });
    it('should render ChatbotFooter with custom classname', () => {
        const { container } = (0, react_1.render)((0, jsx_runtime_1.jsx)(ChatbotFooter_1.default, { className: "custom-class", children: "Chatbot Content" }));
        expect(container.querySelector('.custom-class')).toBeTruthy();
    });
    it('should handle isCompact', () => {
        (0, react_1.render)((0, jsx_runtime_1.jsx)(ChatbotFooter_1.default, { isCompact: true, "data-testid": "footer", children: "Chatbot Content" }));
        expect(react_1.screen.getByTestId('footer')).toHaveClass('pf-m-compact');
    });
    it('should handle isPrimary', () => {
        (0, react_1.render)((0, jsx_runtime_1.jsx)(ChatbotFooter_1.default, { isPrimary: true, "data-testid": "footer", children: "Chatbot Content" }));
        expect(react_1.screen.getByTestId('footer')).toHaveClass('pf-m-primary');
    });
});
