import React from 'react';
import { render, screen } from '@testing-library/react';
import ChatbotHeader from './ChatbotHeader';
describe('ChatbotHeader', () => {
    it('should render ChatbotHeader with children', () => {
        render(React.createElement(ChatbotHeader, null, "Chatbot Header"));
        expect(screen.getByText('Chatbot Header')).toBeTruthy();
    });
    it('should render ChatbotHeader with custom classname', () => {
        const { container } = render(React.createElement(ChatbotHeader, { className: "custom-header-class" }, "Chatbot Content"));
        expect(container.querySelector('.custom-header-class')).toBeTruthy();
    });
});
