4.0.7
🐞 Bug Fixes
- Bind
processin case global is overwritten - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8916 (6240d) - Create environment once per worker with
isolate: false- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8915 (c9078) - Add Locator as a possible element type in
toContainElement()matcher - by @vitalybaev in https://github.com/vitest-dev/vitest/issues/8910 and https://github.com/vitest-dev/vitest/issues/8927 (35a27) - browser: Inherit
isolateoption, deprecatebrowser.isolate/browser.fileParallelism- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8890 (9d2b4) - cli: Parse
--execArgvas array - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8924 (751c3) - jsdom: Support
URL.createObjectURL,FormData.set(prop, blob)- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8935 (a1b73) - pool: Avoid
--requireargument when running in deno - by @pi0 in https://github.com/vitest-dev/vitest/issues/8897 (d41fa) - typecheck: Handle re-runs outside
tsc- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8920 (fdb2e)
🏎 Performance
- pool:
- Sort test files by project by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8914 (680a6)
- reporters:
- Optimize getting the tests stats - by @Connormiha in https://github.com/vitest-dev/vitest/issues/8908 (06d62)
- Remove unnecessary
Array.fromcall - by @Connormiha in https://github.com/vitest-dev/vitest/issues/8907 (b6014)