Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pglez82 committed Mar 3, 2024
1 parent 906e485 commit 6a808c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions webapp/src/App.test.js
Original file line number Diff line number Diff line change
@@ -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(<App />);
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();
});


0 comments on commit 6a808c8

Please sign in to comment.