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

test(router-plugin): read each loaded script once per marker in scriptHolds

expectLoadedOnNavigation checks the page's scripts before and after the
navigation; the scripts loaded before were parsed again in the second check.
A loaded script's code does not change, so its answer per marker is kept for
that script record (a WeakMap on the test's own script objects).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-23 22:53:51 +02:00
commit bb200e381a
No known key found for this signature in database