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

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

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