aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/links/link.test.tsx
blob: ef74821cb0281175ac6d0cd44f65aabe79da228b (plain)
1
2
3
4
5
6
7
8
9
import { render, screen } from '../../../../tests/utils';
import Link from './link';

describe('Link', () => {
  it('render a link', () => {
    render(<Link href="#">A link</Link>);
    expect(screen.getByRole('link')).toHaveTextContent('A link');
  });
});