diff --git a/webapp/src/App.test.js b/webapp/src/App.test.js index 5e3b7314..1d70405a 100644 --- a/webapp/src/App.test.js +++ b/webapp/src/App.test.js @@ -1,8 +1,11 @@ import { render, screen } from '@testing-library/react'; +import { BrowserRouter} from 'react-router-dom'; import App from './App'; test('renders learn react link', () => { - render(); - const linkElement = screen.getByText(/Welcome to the 2024 edition of the Software Architecture course/i); - expect(linkElement).toBeInTheDocument(); + render( + + + + ); });