curriculum/src/App.test.js

9 lines
255 B
JavaScript
Raw Normal View History

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