frontend/src/App.test.jsx
import { render, screen } from '@testing-library/react';
import App from './App';
// eslint-disable-next-line no-undef
test('renders learn react link', () => {
// eslint-disable-next-line react/react-in-jsx-scope
render(<App />);
const linkElement = screen.getByText(/learn react/i);
// eslint-disable-next-line no-undef
expect(linkElement).toBeInTheDocument();
});