Vitest Runner Enhancements

  25 Jul 2023   1 min read

Wallaby now supports Vitest when configured to run tests in child processes. When Vitest v0.0.29+ is configured with threads: false, tests are run in a child_process instead of worker_threads. This change in where your tests are executed allows APIs like process.chdir to be used, which were not available when running with Vitest’s default worker_threads. To benefit from this enhancement, ensure your Wallaby and Vitest are updated to the latest versions.