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:
parent
a220a0579a
commit
ea7309f68e
1 changed files with 73 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue