Tests refactor
This commit is contained in:
parent
245520fb50
commit
99134d8556
165 changed files with 911 additions and 531 deletions
11
packages/web/tests/app/(dashboard)/loading.test.tsx
Normal file
11
packages/web/tests/app/(dashboard)/loading.test.tsx
Normal 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();
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue