import { render, screen } from '@test-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');
  });
});
.philippot.eu/www.armandphilippot.com' title='www.armandphilippot.com Git repository'/>
<link rel='vcs-git' href='git://git.armand.philippot.euwww.armandphilippot.com' title='www.armandphilippot.com Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a href='/www.armandphilippot.com/'>www.armandphilippot.com</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='c347190a4307c172d15dac156da86567098035f6'/><select name='h' onchange='this.form.submit();'>
<option value='main' selected='selected'>main</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>The frontend of my personal website.</td><td class='sub right'>Armand Philippot</td></tr></table>
<table class='tabs'><tr><td>
<a href='/www.armandphilippot.com/about/'>about</a><a href='/www.armandphilippot.com/'>summary</a><a href='/www.armandphilippot.com/refs/?id=c347190a4307c172d15dac156da86567098035f6'>refs</a><a href='/www.armandphilippot.com/log/jest.setup.js'>log</a><a class='active' href='/www.armandphilippot.com/tree/jest.setup.js?id=c347190a4307c172d15dac156da86567098035f6'>tree</a><a href='/www.armandphilippot.com/commit/jest.setup.js?id=c347190a4307c172d15dac156da86567098035f6'>commit</a><a href='/www.armandphilippot.com/diff/jest.setup.js?id=c347190a4307c172d15dac156da86567098035f6'>diff</a><a href='/www.armandphilippot.com/stats/jest.setup.js'>stats</a></td><td class='form'><form class='right' method='get' action='/www.armandphilippot.com/log/jest.setup.js'>
<input type='hidden' name='id' value='c347190a4307c172d15dac156da86567098035f6'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/www.armandphilippot.com/tree/?id=c347190a4307c172d15dac156da86567098035f6'>root</a>/<a href='/www.armandphilippot.com/tree/jest.setup.js?id=c347190a4307c172d15dac156da86567098035f6'>jest.setup.js</a></div><div class='content'>blob: d50c988fd0b52d5517ffe1ac11dcce9fe8dc3422 (<a href='/www.armandphilippot.com/plain/jest.setup.js?id=c347190a4307c172d15dac156da86567098035f6'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
</pre></td>
<td class='lines'><pre><code>