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
Sean Cassiere 6981a3a711
fix(react-router): retain path parameters that are falsy but still valid (#2027)
* test(react-router): check for falsy values

* test(react-router): interpolatePath

* test(react-router): beef up the link test

* fix(react-router): only strip out `undefined` in the `joinPaths` function
History 2024-07-26 15:52:56 +12:00
..
lazy fix(router): fixed a lot of context related issues (#1907) 2024-07-16 19:34:14 +02:00
blocker.test.tsx feat: allow to ignore blocker in navigate and <Link> (#1797) 2024-06-21 19:49:33 +02:00
createLazyRoute.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
createRoute.test.ts feat: New Serialization Paradigm (#1824) 2024-06-28 09:45:01 -06:00
fileRoute.test-d.tsx perf: new addChildren signature and generate more (#1564) 2024-05-13 16:54:41 +02: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 tests: consolidate duplicate tests (#2022) 2024-07-25 00:13:43 +02:00
link.test-d.tsx perf(react-router): remove root search schema type and unused type parameters from route options (#1729) 2024-06-10 22:21:44 +02:00
link.test.tsx fix(react-router): retain path parameters that are falsy but still valid (#2027) 2024-07-26 15:52:56 +12:00
loaders.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
Matches.test-d.tsx fix: correctly resolve path in useMatchRoute if layout route is used (#1690) 2024-06-01 08:07:21 +02:00
navigate.test.tsx fix(router): fixed a lot of context related issues (#1907) 2024-07-16 19:34:14 +02:00
path.test.ts fix(react-router): retain path parameters that are falsy but still valid (#2027) 2024-07-26 15:52:56 +12:00
qss.test.ts fix(react-router): incorrectly splitting the key-values pairs from the querystring (#1405) 2024-04-03 12:09:14 +13:00
redirect.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
redirects.test-d.tsx fix(react-router): merge params, context, search and loaderData with strict: false (#1664) 2024-05-29 21:27:51 +02:00
route.test-d.tsx fix(router): fixed a lot of context related issues (#1907) 2024-07-16 19:34:14 +02:00
route.test.ts tests: fix type tests for Link, make sure type tests fail in ci and add type tests for union to and difference in params (#1418) 2024-04-04 18:42:13 +02:00
routeApi.test-d.tsx fix: correct typing for Route.useNavigate (#1940) 2024-07-24 23:01:49 +02:00
routeContext.test.tsx test(react-router): cleanup the todo in routeContext.test.tsx (#1989) 2024-07-19 14:40:59 +12:00
router.test-d.tsx fix: when children are added to the route tree, the inference of RouterContext is lost (#1946) 2024-07-12 19:06:25 +02:00
router.test.tsx test(react-router): correct usage of act and waitFor (#1986) 2024-07-19 10:42:40 +12:00
RouterProvider.test-d.tsx feat: trailingSlashes option on the type level (#1509) 2024-04-25 20:05:34 +02:00
setupTests.tsx test(react-router): reducing the React.act warnings during unit tests (#1975) 2024-07-18 00:16:44 +12:00
useBlocker.test.tsx feat(react-router): improve the blocker functionality for use with custom UI (#1649) 2024-05-25 13:49:08 +02:00
useLoaderData.test-d.tsx feat(react-router): params.parse and params.stringify instead of parseParams and stringifyParams (#1826) 2024-06-28 18:34:49 +02:00
useLocation.test-d.tsx feat(react-router): add a useLocation hook to get the current ParsedLocation (#1577) 2024-05-11 14:33:15 +02:00
useMatch.test-d.tsx feat: allow useMatch to not throw if match was not found (#1738) 2024-07-12 22:09:43 +02: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: do not allow any string in from (#1607) 2024-05-17 00:00:13 +02:00
useNavigate.test.tsx fix(react-router): take from into account when navigating with params or layouts (#1721) 2024-06-10 22:28:03 +02:00
useParams.test-d.tsx fix(react-router): merge params, context, search and loaderData with strict: false (#1664) 2024-05-29 21:27:51 +02:00
useRouteContext.test-d.tsx fix(react-router): merge params, context, search and loaderData with strict: false (#1664) 2024-05-29 21:27:51 +02:00
useRouterState.test-d.tsx feat: trailingSlashes option on the type level (#1509) 2024-04-25 20:05:34 +02:00
useSearch.test-d.tsx perf(react-router): remove root search schema type and unused type parameters from route options (#1729) 2024-06-10 22:21:44 +02:00
utils.test.ts fix(react-router): deepEqual correctly handles undefined properties (#1984) 2024-07-19 08:48:59 +12:00
utils.ts fix: tests 2023-11-05 01:56:35 -06:00