Tests refactor

This commit is contained in:
Aerilyn Weber 2026-05-19 11:06:03 +09:00
parent 245520fb50
commit 99134d8556
165 changed files with 911 additions and 531 deletions

View file

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