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