import { render } from '@testing-library/react' import { LoadingFallback } from '../LoadingFallback' describe('LoadingFallback', () => { it('renders without crashing for page variant', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) it('renders without crashing for card variant', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) it('renders without crashing for list variant', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) it('renders without crashing for chart variant', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) it('renders without crashing for chat variant', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) it('defaults to page variant when no variant is specified', () => { const { container } = render() expect(container.firstChild).toBeInTheDocument() }) })