summaryrefslogtreecommitdiffstats
path: root/__tests__/jest/components/Copyright.test.tsx
blob: 5f6f287569f6bd08e7877404a4a7de44ff4c4c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Copyright from '@components/Copyright/Copyright';
import { render, screen } from '@test-utils';
import '../__mocks__/matchMedia.mock';

describe('Copyright', () => {
  it('renders the Copyright component', () => {
    render(<Copyright />);
  });

  it('displays author name', () => {
    render(<Copyright />);
    expect(screen.getByText('Armand Philippot')).toBeInTheDocument();
  });
});