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