import { render, screen } from '@test-utils'; import ButtonLink from './button-link'; describe('ButtonLink', () => { it('renders a ButtonLink component', () => { render(Button Link); expect(screen.getByRole('link')).toHaveTextContent('Button Link'); }); }); .philippot.eu/www.armandphilippot.com' title='www.armandphilippot.com Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/jest.setup.js
blob: d50c988fd0b52d5517ffe1ac11dcce9fe8dc3422 (plain)
1
2
3
4
5