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

test(router-plugin): a diagnostic never stands in for a working fallback edit

expectEditShownOrReportedFallback (route-hmr-page.ts): an edit of a route
the compiler may leave to a reported fallback (R-09, D11) must show its new
loader data and component without errors; without a warning naming the
file it must also apply in place, with one a reload is allowed. Replaces the
catch-and-return of the factory-route rows and their helper-function pin
(V1R hmr H08, split S11). The warning-capture control now uses a synthetic
plugin warning through each bundler's own channel (Vite this.warn, an Rspack
compilation warning), positive and negative, instead of requiring the
compiler to warn about a split it may perform (H09, S09); openRouteHmrPage
takes extra test plugins. Controls of the helper's decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-20 07:27:58 +02:00
commit b244671c40
No known key found for this signature in database
4 changed files with 213 additions and 74 deletions