0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/react-router/tests
Christopher Horobin 844b66c795
refactor(router-core): migrate matches and route options to core (#3552)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
History 2025-02-24 23:17:58 +01:00
..
lazy test: Add test cases for route id consistency (#2401) 2024-10-15 21:35:04 +02:00
blocker.test.tsx feat(react-router): update useBlocker hook to provide current and next location when conditionally blocking (#1790) 2024-12-15 10:32:16 +01:00
createLazyRoute.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
errorComponent.test.tsx fix(react-router): when ongoing beforeLoad failed, retry next time (#2949) 2024-12-08 19:13:46 +01:00
fileRoute.test-d.tsx refactor(router-core): begin migrating types from react-router and solid-router to router-core (#3538) 2025-02-23 23:18:16 +01:00
fileRoute.test.ts test(react-router): resolving an incorrect configuration checking the route-bound hooks on createFileRoute (#1581) 2024-05-10 21:25:56 +12:00
index.test.tsx test(react-router): move the SSR redirect tests to the correct test file (#2039) 2024-07-27 20:50:48 +12:00
link.bench.tsx feat(react-router): add remountDeps (#3269) 2025-01-29 01:03:33 +01:00
link.test-d.tsx fix(react-router): use intersections for search param merging (#3220) 2025-01-25 22:44:29 +01:00
link.test.tsx chore: update zod and arktype (#3178) 2025-01-15 23:17:28 +01:00
loaders.test.tsx fix(react-router): improve types for parentMatchPromise (#2669) 2024-10-29 18:52:57 +01:00
Matches.test-d.tsx fix: make to required if from is not set (#3099) 2025-01-04 18:48:57 +01:00
Matches.test.tsx chore: lint (#2369) 2024-09-19 00:28:18 +02:00
navigate.test.tsx fix(react-router): fix path param handling with relative navigation (#3423) 2025-02-13 19:39:15 +01:00
redirect.test.tsx chore(deps): update all non-major dependencies (#3018) 2025-01-25 17:52:11 +01:00
redirects.test-d.tsx fix: make to required if from is not set (#3099) 2025-01-04 18:48:57 +01:00
route.test-d.tsx refactor(router-core): migrate matches and route options to core (#3552) 2025-02-24 23:17:58 +01:00
route.test.tsx feat: replace <Meta /> by <HeadContent /> and add dedicated headScripts (#3439) 2025-02-14 23:19:01 +01:00
routeApi.test-d.tsx feat(react-router): add support for structural sharing for finegrained selectors (#2647) 2024-11-09 22:41:12 +01:00
routeContext.test.tsx fix(react-router): ensure updated context in beforeLoad when returning same properties (#3095) 2025-01-01 13:24:51 +01:00
router.test-d.tsx fix: make to required if from is not set (#3099) 2025-01-04 18:48:57 +01:00
router.test.tsx fix(router-core): allow %25 in path params (#3419) 2025-02-25 11:13:27 +13:00
RouterProvider.test-d.tsx feat: trailingSlashes option on the type level (#1509) 2024-04-25 20:05:34 +02:00
Scripts.test.tsx tests(react-router): import locally in test 2025-02-18 19:19:27 +01:00
searchMiddleware.test.tsx refactor(router-core): move router-core into a separate package (#3171) 2025-01-26 14:06:35 +13:00
setupTests.tsx chore: add eslint rule for unused imports (#2523) 2024-10-12 22:06:33 +02:00
useBlocker.test-d.tsx feat(react-router): add useCanGoBack (#3017) 2025-01-03 21:09:58 +01:00
useBlocker.test.tsx feat(react-router): update useBlocker hook to provide current and next location when conditionally blocking (#1790) 2024-12-15 10:32:16 +01:00
useCanGoBack.test.tsx feat(react-router): add useCanGoBack (#3017) 2025-01-03 21:09:58 +01:00
useLoaderData.test-d.tsx fix: only call head() when loaderData is available (#3410) 2025-02-13 13:06:13 -07:00
useLocation.test-d.tsx feat(react-router): add support for structural sharing for finegrained selectors (#2647) 2024-11-09 22:41:12 +01:00
useMatch.test-d.tsx refactor(router-core): migrate matches and route options to core (#3552) 2025-02-24 23:17:58 +01:00
useMatch.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
useNavigate.test-d.tsx fix: make to required if from is not set (#3099) 2025-01-04 18:48:57 +01:00
useNavigate.test.tsx fix(react-router): only navigate once in StrictMode (#3465) 2025-02-18 02:10:05 +01:00
useParams.test-d.tsx feat(react-router): add shouldThrow option to useParams and useSearch (#3368) 2025-02-08 22:36:40 +01:00
useRouteContext.test-d.tsx feat(react-router): add support for structural sharing for finegrained selectors (#2647) 2024-11-09 22:41:12 +01:00
useRouterState.test-d.tsx feat(react-router): add support for structural sharing for finegrained selectors (#2647) 2024-11-09 22:41:12 +01:00
useSearch.test-d.tsx fix: only call head() when loaderData is available (#3410) 2025-02-13 13:06:13 -07:00
utils.ts feat(react-router) add search middleware (#2521) 2024-10-14 20:34:35 +02:00