2026-04-18 12:36:29 +09:00
|
|
|
import { describe, it, expect } from 'vitest';
|
2026-04-26 18:44:59 +09:00
|
|
|
import { render } from '@testing-library/react';
|
2026-04-18 12:36:29 +09:00
|
|
|
|
2026-05-19 11:06:03 +09:00
|
|
|
import DashboardLoading from '../../../src/app/(dashboard)/loading';
|
2026-04-18 12:36:29 +09:00
|
|
|
|
|
|
|
|
describe('DashboardLoading', () => {
|
|
|
|
|
it('renders a loading spinner', () => {
|
|
|
|
|
const { container: c } = render(<DashboardLoading />);
|
|
|
|
|
expect(c.querySelector('.animate-spin')).toBeInTheDocument();
|
|
|
|
|
});
|
|
|
|
|
});
|