mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(router-generator): dev runs compare routes, not tree bytes; broken edits need a located diagnostic
- GEN-33: a running generator's tree must give the real router the same routes (ids, full paths, parents, files, lazy files) as a fresh run's; hand-edited, corrupted and deleted trees must regenerate and give the routes of the original tree. Tree text is free (J1.5, 5.5). - GEN-15: a route file broken by an edit may fail the run or warn, if the diagnostic names the file and the line of the problem (G5); main throws 'Error transforming route file <abs>: SyntaxError: Unexpected token (3:22)'. The repaired-file check stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1f8053e7ba
commit
3b8a3ef573
1 changed files with 46 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue