2020-12-10 22:58:46 +01:00
|
|
|
import { render, screen } from '@testing-library/react';
|
|
|
|
import App from './App';
|
|
|
|
|
2023-03-27 23:26:27 +02:00
|
|
|
test('renders Anthony Yvon Dumas', () => {
|
2020-12-10 22:58:46 +01:00
|
|
|
render(<App />);
|
2023-03-27 23:26:27 +02:00
|
|
|
const linkElement = screen.getByText(/Anthony Yvon Dumas/i);
|
2020-12-10 22:58:46 +01:00
|
|
|
expect(linkElement).toBeInTheDocument();
|
|
|
|
});
|