mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
test(compiler-test-utils): each test file gets its own run pages and context
The run-page pool and its browser context lived as long as the test process: in router-plugin's pages files every renderer grew to ~850 MB and the browser held 1.8 GB of shared memory by the last file (8.4 GB per process). The pool and its context are now the test file's, closed once the file ended (`onFileFinished` of `./test-scope`, run by `./test-scope-setup` after the file's own hooks); the browser stays for the process. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d0fb652f9f
commit
a66dbc1408
8 changed files with 2061 additions and 1991 deletions
Loading…
Add table
Add a link
Reference in a new issue