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

test(compiler-test-utils): let the run's teardown alone remove the run directory

Each test process removed its shared app directories when it exited, and
the last workers exit while Vitest runs the global teardown, which removes
the whole run directory. Node's fs.rmSync (24 and 26, not 22) returns
without an error and leaves the rest of a tree behind when another process
removes part of it meanwhile, so the run directory and its generator/ were
left in the system's temporary directory. With a run directory, the
teardown is now the only one to remove it; without one, the processes still
clean up on exit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-23 10:59:36 +02:00
commit 57addcc41e
No known key found for this signature in database
2 changed files with 24 additions and 13 deletions