From 822d719c9e4036e1a1330e08b343a19628a730d2 Mon Sep 17 00:00:00 2001 From: Kot Anton <707myemail@gmail.com> Date: Mon, 4 Nov 2024 20:21:56 -0500 Subject: [PATCH 1/2] updaed title text at in app.js --- public/index.html | 2 +- src/App.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 91725d8..c086b7d 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,7 @@ name="description" content="Web site created using create-react-app" /> - Book Storage + Books Storage diff --git a/src/App.js b/src/App.js index 4de1e08..9b0fda5 100644 --- a/src/App.js +++ b/src/App.js @@ -9,7 +9,7 @@ function App() { return (
-

My Book Storage

+

My Books Storage

From d44d397f3df850d5b273d37196c00ce737c3e22b Mon Sep 17 00:00:00 2001 From: Kot Anton <707myemail@gmail.com> Date: Tue, 5 Nov 2024 08:35:04 -0500 Subject: [PATCH 2/2] updated test to verify header text --- 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 78688ce..0f194f5 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -41,9 +41,9 @@ describe('App Component Tests', () => { bookList_Component = screen.getByTestId('bookList_component') }) - test('Should render the Header to be in the DOM and should contain text "My Book Storage"', async () => { + test('Should render the Header to be in the DOM and should contain text "My Books Storage"', async () => { expect(header).toBeInTheDocument() - expect(header).toHaveTextContent('My Book Storage') + expect(header).toHaveTextContent('My Books Storage') }) test('Should render the ManualBookForm component in the DOM', () => {