mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
- Neither test router supports the deprecated `notFoundRoute` option. The option types declare it as `never`, and both functions throw when it is passed anyway. In `createIsolatedTestRouter` it rendered the app's not-found route after a navigation, and the root used it to catch a `notFound()` thrown by the element, which then crashed. - When `params.parse` threw `notFound()`, `createIsolatedTestRouter` rejected with "is not matched", although the route was matched with a not-found. When `validateSearch` threw it, the router wraps it in a `SearchParamError` without a message, so the rejection had none. Both now name the route and the step that threw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| router | ||
| start | ||
| AGENTS.md | ||