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
Manuel Schiller 680671cce8
feat: RawStream (#6231)
* feat: RawStream

* framed json response is not newline split

* avoid code duplication in tests

* actually defer promise

* fix empty stream

* hardening

* optimization

* stream counter

* fix cancellation

* lint

* fix test

* stabilize tests

* stabilize tests

* fix(e2e): add hydration delay for SSR mixed stream test

In CI, hydration takes longer so reader.read() can hang if called
before seroval's stream factory connects callbacks. 100ms delay
ensures stream is ready to be consumed.

* skip test when prerendering
History 2025-12-27 15:57:16 +01:00
..
callbacks.test.ts refactor(router-core): simplify matchId (#5807) 2025-11-11 00:55:46 +01:00
closing-tag-detection.bench.ts fix: streaming (#6175) 2025-12-22 00:13:49 +01:00
curly-params-smoke.test.ts refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01:00
hydrate.test.ts chore: remove extra comments (#5946) 2025-12-17 13:04:54 +01: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): forward notFound/redirect from params.parse correctly (#5864) 2025-11-19 18:07:57 +01:00
lru.test.ts refactor(router-core): add LRU cache in front of parsePathname (#4752) 2025-07-23 11:16:59 +02:00
mask.test.ts fix(router-core): correctly resolve custom params from declarative masks when building the masked url (#5756) 2025-12-02 18:31:16 +02:00
match-by-path.test.ts refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01:00
new-process-route-tree.test.ts refactor(router-core): index routes have index nodes in the segment tree (#6171) 2025-12-21 16:32:19 +01:00
optional-path-params-clean.test.ts refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01:00
optional-path-params.test.ts refactor(router-core): interpolatePath skips optional segments w/ nullish param value (#5934) 2025-11-21 23:55:16 +01:00
path.test.ts refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01: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
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
searchParams.test.ts test(router-core): add search param serialization / deserialization unit tests (#4987) 2025-08-19 08:16:58 +02:00
serializer-recursion.test-d.ts fix(router-core): avoid infinite serializer recursion for arrays (#5199) 2025-09-25 04:55:33 +02:00
serializer.test-d.ts fix: add TsrSerializable (#5387) 2025-10-06 22:12:24 +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 refactor(router-core): simplify decodePath implementation, improve performance (#5867) 2025-11-14 20:46:53 +01:00