import { jsx as _jsx } from "react/jsx-runtime";
import '@testing-library/jest-dom';
import { render, screen } from '@testing-library/react';
import MessageAndActions from './MessageAndActions';
test('Renders with children', () => {
    render(_jsx(MessageAndActions, { children: "Test content" }));
    expect(screen.getByText('Test content')).toBeInTheDocument();
});
test('Renders with pf-chatbot__message-and-actions class by default', () => {
    render(_jsx(MessageAndActions, { children: "Test content" }));
    expect(screen.getByText('Test content')).toHaveClass('pf-chatbot__message-and-actions', { exact: true });
});
test('Renders with custom className', () => {
    render(_jsx(MessageAndActions, { className: "custom-class", children: "Test content" }));
    expect(screen.getByText('Test content')).toHaveClass('custom-class');
});
test('Spreads additional props', () => {
    render(_jsx(MessageAndActions, { id: "test-id", children: "Test content" }));
    expect(screen.getByText('Test content')).toHaveAttribute('id', 'test-id');
});
