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

describe('ButtonLink', () => {
  it('renders a ButtonLink component', () => {
    render(<ButtonLink target="#">Button Link</ButtonLink>);
    expect(screen.getByRole('link')).toHaveTextContent('Button Link');
  });
});