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

test(router-generator): renaming a route file in dev, both event orders

Audit D missing coverage 2: a rename or move reaches a running generator
as a delete and a create event, in either order, queued before the first
run completes (Generator.run events). Three renames (top-level file,
child route to another param name, file moved into a directory under its
layout), each with the delete or the create event first: the route tree
is the one a fresh run writes, its routes are the expected ones, and the
moved file gets the id of its new path. All pass on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-18 12:12:21 +02:00
commit ea7309f68e
No known key found for this signature in database