blob: 8491101485657434413bbdab44b5d9c25fb51439 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { describe, expect, it } from '@jest/globals';
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');
});
});
|