From 86c0df290d4d25bb29dc9c429d861a6ae9470d13 Mon Sep 17 00:00:00 2001 From: Anthony Dumas Date: Mon, 27 Mar 2023 23:26:27 +0200 Subject: [PATCH] Update App.test.js --- src/App.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.test.js b/src/App.test.js index 1f03afe..c0c0c76 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -1,8 +1,8 @@ import { render, screen } from '@testing-library/react'; import App from './App'; -test('renders learn react link', () => { +test('renders Anthony Yvon Dumas', () => { render(); - const linkElement = screen.getByText(/learn react/i); + const linkElement = screen.getByText(/Anthony Yvon Dumas/i); expect(linkElement).toBeInTheDocument(); });