mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(router-generator): accept the permitted upkeep outcomes and give the upkeep inputs real modules
G09: a template literal id may be replaced or reported (SPEC J1.1); the upkeep row moves into the repaired-or-reported table and the file-modification fixture drops its template-literal file (the fixture cannot accept a failed run). G10: expectRouteFile no longer requires one local import literally named createFileRoute; the evaluated Route must be the router package's Route (LazyRoute for the lazy constructor) and routeCallOf still checks the callee's provenance, so reusing an alias or namespace binding passes. G11: the direct-object constructor calls (type-invalid, TS2345 per the V1R synth tsc probe) are labelled never-fail-silently controls and accept a repaired curried call keeping the options and registering /new, or a diagnostic naming the file. G12: -posts-route / -make-route now exist and supply the Route; the entry must stay unchanged with /new registered and rendered, or be reported. G25: the file-modification lazy constructor-switch input is a component-only createFileRoute route (the full template kept a loader, TS2353 under createLazyFileRoute); the page must render at /bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8db0ac1324
commit
256166eed5
5 changed files with 132 additions and 56 deletions
Loading…
Add table
Add a link
Reference in a new issue