0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

2 commits

Author SHA1 Message Date
stevenlyd
ac61e8ee38
test: Add test cases for route id consistency (#2401)
* tweaked the fallback order

* added getLastPathSegment util function

* removed unused import

* added test case for getLastPathSegment()

* trim parent id prefix when creating lazy routes

* added test cases

* removed unused import

* made test case more strict

* use it.each

* Added test for route id uniqueness

* added test cases to check if the option.id for lazyRoute is trimmed

* revert changes, keep only the tests

* removed unused import

---------

Co-authored-by: Yidong Liu <yliu@plexxis.com>
2024-10-15 21:35:04 +02:00
Tanner Linsley
3003d986c6
fix(router): fixed a lot of context related issues (#1907) 2024-07-16 19:34:14 +02:00