Skip to content

Commit

Permalink
'renders learn react link' test fix (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelalvaigle committed Oct 17, 2024
1 parent cdca5c1 commit 53bb0f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import App from './App';

test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/wiq\s*quiz\s*game/i);
const linkElement = screen.getByText(/wiq quiz game/i);
expect(linkElement).toBeInTheDocument();
});
2 changes: 1 addition & 1 deletion webapp/src/pages/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Landing = () => {
<div className="container page">
<div className="info">
<h1>
wiq <span>quiz</span> game
wiq quiz game
</h1>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur
Expand Down

0 comments on commit 53bb0f9

Please sign in to comment.