Testing
Vitest Worker Pools: Threads, Forks, and VMs Explained
Vitest runs tests in parallel using worker processes. How those workers are created — and how isolated they are from each other — determines your test suite's speed, stability, and compatibility with native modules. Vitest offers three pool types: threads, forks, and vmThreads. Knowing which to use can cut your