From 374c46981fd8b6822958a09c3c39445f8e99ca69 Mon Sep 17 00:00:00 2001 From: Veselina Radeva Date: Fri, 9 Aug 2024 13:27:22 +0300 Subject: [PATCH 1/2] Update App.test.tsx Make the test fail --- __tests__/App.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/App.test.tsx b/__tests__/App.test.tsx index 43e4a26..1ab769c 100644 --- a/__tests__/App.test.tsx +++ b/__tests__/App.test.tsx @@ -26,5 +26,5 @@ it('should render Step One', async () => { const stepOne = await screen.findByText('Step One'); - expect(stepOne).toHaveTextContent('Step One'); + expect(stepOne).toHaveTextContent('Step Two'); }); From f3f836d94d34a6d27312dd2a57a38512e74bd6f2 Mon Sep 17 00:00:00 2001 From: Veselina Radeva Date: Fri, 9 Aug 2024 13:30:06 +0300 Subject: [PATCH 2/2] Update __tests__/App.test.tsx Fix test Co-authored-by: flyci-prod[bot] <146104993+flyci-prod[bot]@users.noreply.github.com> --- __tests__/App.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/App.test.tsx b/__tests__/App.test.tsx index 1ab769c..43e4a26 100644 --- a/__tests__/App.test.tsx +++ b/__tests__/App.test.tsx @@ -26,5 +26,5 @@ it('should render Step One', async () => { const stepOne = await screen.findByText('Step One'); - expect(stepOne).toHaveTextContent('Step Two'); + expect(stepOne).toHaveTextContent('Step One'); });