import { describe, it, expect } from 'vitest'; import { render } from '@testing-library/react'; import DashboardLoading from '../loading'; describe('DashboardLoading', () => { it('renders a loading spinner', () => { const { container: c } = render(); expect(c.querySelector('.animate-spin')).toBeInTheDocument(); }); });