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