aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/buttons/button-link.test.tsx
blob: 8fabacfb9752588075e03389aad6cb509baa292a (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');
  });
});