From 6a808c866d22db5f25f55cc577f9a73e998029b3 Mon Sep 17 00:00:00 2001 From: pglez82 Date: Sun, 3 Mar 2024 19:37:36 +0100 Subject: [PATCH] fixing test --- webapp/src/App.test.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/webapp/src/App.test.js b/webapp/src/App.test.js index 5e3b7314..4f212ba8 100644 --- a/webapp/src/App.test.js +++ b/webapp/src/App.test.js @@ -1,8 +1,10 @@ import { render, screen } from '@testing-library/react'; import App from './App'; -test('renders learn react link', () => { +test('renders welcome message', () => { render(); - const linkElement = screen.getByText(/Welcome to the 2024 edition of the Software Architecture course/i); - expect(linkElement).toBeInTheDocument(); + const welcomeMessage = screen.getByText(/Welcome to the 2024 edition of the Software Architecture course/i); + expect(welcomeMessage).toBeInTheDocument(); }); + +