render(<App />); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument();