import { describe, it, expect } from 'vitest';
import { render } from '@testing-library/svelte';
import ActionBottomBar from './ActionBottomBar.svelte';
describe('ActionBottomBar', () => {
    const renderComponent = (props = {}) => render(ActionBottomBar, { props });
    it('renders the component', () => {
        const { container } = renderComponent();
        expect(container.firstChild).toBeTruthy();
    });
    it('does not apply shadow class by default', () => {
        const { container } = renderComponent();
        const root = container.firstElementChild;
        expect(root?.classList.contains('mc-action-bottom-bar--shadow')).toBe(false);
    });
    it('applies shadow class when shadow is true', () => {
        const { container } = renderComponent({ shadow: true });
        const root = container.firstElementChild;
        expect(root?.classList.contains('mc-action-bottom-bar--shadow')).toBe(true);
    });
});
