diff --git a/src/components/pages/ErrorPage/ErrorPage.test.tsx b/src/components/pages/ErrorPage/ErrorPage.test.tsx index d2ca2df..574aa9f 100644 --- a/src/components/pages/ErrorPage/ErrorPage.test.tsx +++ b/src/components/pages/ErrorPage/ErrorPage.test.tsx @@ -17,12 +17,13 @@ describe('Renders ErrorPage correctly', async () => { * Passes - shows title correctly */ it('Should render the error page correctly', () => { - const router = createMemoryRouter([{ path: '/', element:
, errorElement:Sorry, an unexpected error has occurred.
- {isRouteErrorResponse(error) && ( -- - {error.status} {error.statusText} - -
- )} -