aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/links/link.test.tsx
blob: 16d52d2c97edde97bd36093c7b2137adbbca3b69 (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');
  });
});