import { describe, it, expect } from 'vitest';
import { render, container } from '@testing-library/react';

import DashboardLoading from '../loading';

describe('DashboardLoading', () => {
  it('renders a loading spinner', () => {
    const { container: c } = render(<DashboardLoading />);
    expect(c.querySelector('.animate-spin')).toBeInTheDocument();
  });
});
