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', () => {