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