From 5f0c9d726889773f326c6314df24509ed7e92495 Mon Sep 17 00:00:00 2001 From: lauracc97 Date: Mon, 22 Apr 2024 13:28:34 +0200 Subject: [PATCH] App test --- webapp/src/App.test.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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( + + + + ); });