blob: 9829c1be8903116ac8bcec921c2187f848924d3e (
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 { Link } from './link';
describe('Link', () => {
it('render a link', () => {
render(<Link href="#">A link</Link>);
expect(screen.getByRole('link')).toHaveTextContent('A link');
});
});
|