Upgrade react-router #942 #3050
Annotations
10 errors
|
src/routing/routing.component.test.tsx > Routing component > renders /login page when navigating to logout page when auto-logged in:
src/routing/routing.component.test.tsx#L344
AssertionError: expected '/logout' to deeply equal '/login'
Expected: "/login"
Received: "/logout"
❯ src/routing/routing.component.test.tsx:344:38
|
|
src/routing/routing.component.test.tsx > Routing component > redirects to / on /login route when logged in after auto-logged in (no referrer):
src/routing/routing.component.test.tsx#L308
AssertionError: expected '/login' to deeply equal '/'
Expected: "/"
Received: "/login"
❯ src/routing/routing.component.test.tsx:308:38
|
|
src/routing/routing.component.test.tsx > Routing component > redirects to referrer on /login route when auto-logged when referred by authorisedRoute:
src/routing/routing.component.test.tsx#L281
AssertionError: expected '/' to deeply equal '/test'
Expected: "/test"
Received: "/"
❯ src/routing/routing.component.test.tsx:281:38
|
|
src/routing/routing.component.test.tsx > Routing component > redirects to a homepage URL if specified:
src/routing/routing.component.test.tsx#L237
AssertionError: expected '/' to deeply equal '/homepage'
Expected: "/homepage"
Received: "/"
❯ src/routing/routing.component.test.tsx:237:38
|
|
src/routing/authorisedRoute.component.test.tsx > AuthorisedRoute component > renders redirect when user not logged in and stores referrer in router state:
src/routing/authorisedRoute.component.test.tsx#L211
AssertionError: expected '/' to be '/login' // Object.is equality
Expected: "/login"
Received: "/"
❯ src/routing/authorisedRoute.component.test.tsx:211:38
|
|
src/mainAppBar/userProfile.component.test.tsx > User profile component > redirects to login when sign in is pressed:
src/mainAppBar/userProfile.component.test.tsx#L68
AssertionError: expected '/test' to be '/login' // Object.is equality
Expected: "/login"
Received: "/test"
❯ src/mainAppBar/userProfile.component.test.tsx:68:38
|
|
Unhandled error:
src/routing/routing.component.test.tsx#L370
TypeError: RequestInit: Expected signal ("AbortSignal {}") to be an instance of AbortSignal.
❯ Object.webidl.errors.exception node:internal/deps/undici/undici:4720:14
❯ Object.AbortSignal node:internal/deps/undici/undici:4979:31
❯ node:internal/deps/undici/undici:11692:41
❯ node:internal/deps/undici/undici:5030:16
❯ Object.RequestInit node:internal/deps/undici/undici:5012:21
❯ new Request node:internal/deps/undici/undici:11054:34
❯ createClientSideRequest node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5008:10
❯ startNavigation node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1874:19
❯ Object.navigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1794:11
❯ src/routing/routing.component.test.tsx:370:12
This error originated in "src/routing/routing.component.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/routing/routing.component.test.tsx". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/routing/routing.component.test.tsx#L361
TypeError: RequestInit: Expected signal ("AbortSignal {}") to be an instance of AbortSignal.
❯ Object.webidl.errors.exception node:internal/deps/undici/undici:4720:14
❯ Object.AbortSignal node:internal/deps/undici/undici:4979:31
❯ node:internal/deps/undici/undici:11692:41
❯ node:internal/deps/undici/undici:5030:16
❯ Object.RequestInit node:internal/deps/undici/undici:5012:21
❯ new Request node:internal/deps/undici/undici:11054:34
❯ createClientSideRequest node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5008:10
❯ startNavigation node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1874:19
❯ Object.navigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1794:11
❯ src/routing/routing.component.test.tsx:361:14
This error originated in "src/routing/routing.component.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/routing/routing.component.test.tsx". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/routing/routing.component.test.tsx#L353
TypeError: RequestInit: Expected signal ("AbortSignal {}") to be an instance of AbortSignal.
❯ Object.webidl.errors.exception node:internal/deps/undici/undici:4720:14
❯ Object.AbortSignal node:internal/deps/undici/undici:4979:31
❯ node:internal/deps/undici/undici:11692:41
❯ node:internal/deps/undici/undici:5030:16
❯ Object.RequestInit node:internal/deps/undici/undici:5012:21
❯ new Request node:internal/deps/undici/undici:11054:34
❯ createClientSideRequest node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5008:10
❯ startNavigation node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1874:19
❯ Object.navigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1794:11
❯ src/routing/routing.component.test.tsx:353:14
This error originated in "src/routing/routing.component.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "redirects to / if navigating to login or logout page while using nullAuthProvider". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/routing/routing.component.test.tsx#L260
TypeError: RequestInit: Expected signal ("AbortSignal {}") to be an instance of AbortSignal.
❯ Object.webidl.errors.exception node:internal/deps/undici/undici:4720:14
❯ Object.AbortSignal node:internal/deps/undici/undici:4979:31
❯ node:internal/deps/undici/undici:11692:41
❯ node:internal/deps/undici/undici:5030:16
❯ Object.RequestInit node:internal/deps/undici/undici:5012:21
❯ new Request node:internal/deps/undici/undici:11054:34
❯ createClientSideRequest node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:5008:10
❯ startNavigation node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1874:19
❯ Object.navigate node_modules/react-router/dist/development/chunk-LFPYN7LY.mjs:1794:11
❯ src/routing/routing.component.test.tsx:260:12
This error originated in "src/routing/routing.component.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "redirects to / if navigating to login or logout page while using nullAuthProvider". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|