Improved
v4.1.0-beta.2
🚀 Features
- Expose matcher types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9448 (3e4b9)
- Add
toTestSpecificationto reported tasks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9464 (1a470) - Show a warning if
vi.mockorvi.hoistedare declared outside of top level of the module - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9387 (5db54) - Track and display expectedly failed tests (.fails) in UI and CLI - by @Copilot, sheremet-va and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9476 (77d75)
- Support tags - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9478 (de7c8)
- browser:
- Add
filterNodeoption to prettyDOM for filtering browser assertion error output - by @Copilot, sheremet-va and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9475 (d3220) - Support playwright persistent context - by @hi-ogawa, Claude Opus 4.5 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9229 (f865d)
- Add
- cli:
- Add @bomb.sh/tab completions - by @AmirSa12 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8639 (200f3)
- experimental:
- Option to disable the module runner - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9210 (9be61)
- ui:
🐞 Bug Fixes
- Deprecate unused types in matcher context - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9449 (20f87)
- coverage:
thresholds.autoUpdateto preserve ending whitespace - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9436 (7e534) - spy: Support deep partial in vi.mocked - by @j2h30728 in https://github.com/vitest-dev/vitest/issues/8152 and https://github.com/vitest-dev/vitest/issues/9493 (71cb5)
- ui: Process artifact attachments when generating HTML reporter - by @macarie in https://github.com/vitest-dev/vitest/issues/9472 (96eb9)