0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/router-core/tests
Flo 28a5e4504e
fix(router): handle unknown error boundary values (#8209)
* fix(router): handle unknown error boundary values

* fix(router): complete unknown boundary error migration

* docs(router): keep boundary examples within skill limits

* fix(router): restore minimal boundary error display

* fix(solid-router): unify boundary errors across SSR and client
History 2026-09-05 14:48:44 +02:00
..
asset-projection-order.test.ts test(router-core): assert sequential asset projection (#8152) 2026-08-23 11:43:22 +02:00
background-assets-stale.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
background-trim-abort.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
blocked-navigation-current-load.test.ts test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
boundary-component-chunk.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
build-location.test.ts test(router-core): assert state structural sharing (#8121) 2026-08-19 13:48:51 +02:00
cache-commit.bench.ts perf(router-core): avoid quadratic cache resource handoff (#8240) 2026-09-04 22:55:02 +02:00
cache-commit.test.ts perf(router-core): avoid quadratic cache resource handoff (#8240) 2026-09-04 22:55:02 +02:00
cache-navigation.bench.ts perf(router-core): avoid quadratic cache resource handoff (#8240) 2026-09-04 22:55:02 +02:00
callbacks.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
chunk-failure-lifecycle.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
client-lane-adversarial.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
closing-tag-detection.bench.ts fix: fix streaming (#7497) 2026-05-29 02:27:23 +02:00
curly-params-smoke.test.ts feat(router-core): validate params while matching (#5936) 2026-01-08 12:42:43 +01:00
dangerous-protocols.test.ts refactor: signal based reactivity (#6704) 2026-03-20 10:33:28 +01:00
error-boundary-cache-generation.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
errorComponentProps.test-d.ts fix(router): handle unknown error boundary values (#8209) 2026-09-05 14:48:44 +02:00
getNormalizedURL.test.ts fix(start-server-core): redirect misinterpreted protocol-relative URLs (#6600) 2026-02-07 02:00:19 +02:00
getOrigin.test.ts fix: hardening (#6337) 2026-01-09 00:38:55 +01:00
granular-stores.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
hmr-refresh-lifecycle.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
hydrate.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
hydrated-stay-match-data.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
hydration-asset-context-order.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
hydration-boundary-chunks.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
hydration-currentness.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
hydration-terminal-error-child-head.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
invalidate-pre-rematch-failure.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-3179-preload-cached-cause.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-3293-on-enter-after-loader.test.ts test: add more regression coverage for existing router behavior (#7822) 2026-07-15 09:48:19 +02:00
issue-3920-on-before-navigate-after-initial-redirect.test.ts test(router-core): add missing test cleanup in 3920 (#8023) 2026-08-09 23:43:17 +02:00
issue-3928-rapid-reload-abort.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-4078-loader-notfound-root-boundary.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-4444-param-parse-error-lazy-child.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-4572-preload-root-beforeload-flags.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-4684-head-on-beforeload-error.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-4696-parent-context-search-normalization.test.ts test: add more regression coverage for existing router behavior (#7822) 2026-07-15 09:48:19 +02:00
issue-5106-hydrated-notfound-boundary.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-5427-hydration-root-global-not-found.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-6107-preload-chunk-failure.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-6221-head-waits-for-loader.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-6351-fuzzy-notfound-layout.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-6371-search-default-normalization-abort.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-7379-head-matches-direct-load.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-7602-parent-beforeload-context-child-loader.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
issue-7759-in-flight-preload-eviction.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
load-client-wait-for.test.ts perf(router-core): avoid redundant promises for ready routes (#8244) 2026-09-05 11:24:18 +02:00
load-route-chunk.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
load.test-d.ts fix: update error handling in MatchInner to access error data directly (#4746) 2025-11-19 19:46:29 +01:00
load.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
loader-architecture-regressions.test.ts fix(router): retain mounted UI during revalidation (#7992) 2026-08-07 11:57:59 +02:00
loader-self-abort.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
loader-thrown-promise.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
manifest.test.ts feat(start): support rsbuild iife client output (#7477) 2026-05-24 02:02:05 +02:00
mask.test.ts perf(router-core): inline buildWithMatches inside buildLocation (#8070) 2026-08-14 22:47:45 +02:00
masked-location-state-commit.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
match-by-path.test.ts feat(router-core): validate params while matching (#5936) 2026-01-08 12:42:43 +01:00
match-params.test.ts feat(router-core): params.priority route option as tie breaker in matching algorithm (#7411) 2026-05-16 16:20:12 +02:00
navigation-burst-settle.test.ts perf(router-core): share settle chain between superseded navigation waiters (#8222) 2026-09-03 15:10:53 +02:00
navigation-settled-cache.test.ts fix(router-core): load-client can cache settled abandoned loader work without preload authority (#8039) 2026-08-11 12:17:44 +02:00
new-process-route-tree.test.ts fix(router-core): reject overlapping parameter affixes (#8154) 2026-08-22 21:47:42 +02:00
optional-path-params-clean.test.ts feat(router-core): validate params while matching (#5936) 2026-01-08 12:42:43 +01:00
optional-path-params.test.ts perf(router-core): inline getOpenAndCloseBraces in parseSegment (#8071) 2026-08-14 21:03:20 +02:00
parent-match-promise.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
path.test.ts perf(router-core): replace the LRU cache with a trimmed SIEVE cache (#8230) 2026-09-04 20:56:39 +02:00
preflight-reentrant-context.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preflight-signal-currentness.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preload-adoption.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preload-background-parent-coherence.test.ts test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
preload-beforeload-reuse.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preload-navigation-adoption.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preload-public-cache-behavior.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
preload-public-signal-lifetime.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
public-client-loading-contract.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
public-hydration-contract.test.ts fix(router-core): preserve context during reloads (#8130) 2026-08-20 23:34:06 +02:00
public-preload-lane-contract.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
qss.test.ts refactor(router-core): simplify defaultParseSearch & defaultStringifySearch (#4985) 2025-08-19 08:42:53 +02:00
RawStream.test.ts feat: RawStream (#6231) 2025-12-27 15:57:16 +01:00
ready-route-loading.test.ts perf(router-core): avoid redundant promises for ready routes (#8244) 2026-09-05 11:24:18 +02:00
ready-route-parent-snapshot.test.ts perf(router-core): avoid redundant promises for ready routes (#8244) 2026-09-05 11:24:18 +02:00
redirect-target-error.test.ts fix(router-core): remove navigation rollback (#8092) 2026-08-18 14:09:37 +02:00
redirect.test-d.ts feat: add Route.redirect and getRouteApi.redirect (#6373) 2026-01-14 21:50:58 +01:00
remountDeps.test-d.ts fix(router-core): fix typing of search in remountDeps (#5362) 2025-10-05 23:06:57 +02:00
remountDeps.test.ts fix(router-core): fix typing of search in remountDeps (#5362) 2025-10-05 23:06:57 +02:00
rendered-matches.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
rewrite.test.ts perf: optimize and test rewrite (#7448) 2026-05-20 22:54:58 +02:00
routerTestUtils.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
same-destination-navigation-join.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
scroll-restoration-script.test.ts fix: Fix hash scrolling with resetScroll={false} (#7464) 2026-05-21 22:54:26 +02:00
scroll-restoration.test.ts fix(router-core): handle window and element scroll restoration independently (#7807) 2026-07-13 21:45:55 +02:00
searchMiddleware.test-d.ts fix(router-core): fix search middleware type to use schema output (#7381) 2026-06-05 22:02:05 +02:00
searchMiddleware.test.ts fix(router-core): respect stripped params in retainSearchParams (#7555) 2026-06-06 00:49:14 +02:00
searchParams-parse.bench.ts perf(router-core): gate JSON.parse attempts behind jsonStart guard in parseSearchWith (#8142) 2026-09-04 22:43:10 +02:00
searchParams.bench.ts perf(router-core): skip impossible JSON parse attempts (#8006) 2026-08-08 19:43:09 +02:00
searchParams.test.ts perf(router-core): gate JSON.parse attempts behind jsonStart guard in parseSearchWith (#8142) 2026-09-04 22:43:10 +02:00
serial-failure-foreground-prefix.test.ts test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
serializer-recursion.test-d.ts efp (#7144) 2026-04-11 01:43:05 +02:00
serializer.test-d.ts efp (#7144) 2026-04-11 01:43:05 +02:00
server-async-headers-decorative-hang.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-beforeload-preload-flag.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-chunk-failure-lifecycle.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-concurrent-error-notfound.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-loader-abort-error.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-planning-redirect.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-route-lifecycle.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-serial-ssr-notfound.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-ssr-false-assets.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
server-ssr-option-error.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
sieve.test.ts perf(router-core): replace the LRU cache with a trimmed SIEVE cache (#8230) 2026-09-04 20:56:39 +02:00
ssr-match-id.bench.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
ssr-match-id.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
ssr-server-cleanup.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
ssr-server-manifest.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
stay-match-abort.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
superseded-load-await.test.ts test: add regression coverage for existing router behavior (#7886) 2026-07-23 22:13:21 +02:00
transformStreamBackpressure.perf.test.ts fix: fix streaming (#7497) 2026-05-29 02:27:23 +02:00
transformStreamWithRouter.test.ts fix(router-core): lane match loader rewrite (#7805) 2026-08-04 20:28:11 +02:00
tsr-script-teardown.test.ts Revert #7524 (#7533) 2026-06-05 00:04:55 +02:00
utils.test-d.ts fix: only call head() when loaderData is available (#3410) 2025-02-13 13:06:13 -07:00
utils.test.ts perf(router-core): faster enumerable-key collection in structural sharing (#8010) 2026-08-08 19:20:08 +02:00