🚨 Breaking Changes
c8
coverage support now require peer dependency@vitest/coverage-c8
to be installed. Alternatively, you can install@vitest/coverage-istanbul
to useistanbul
for coverage instead ofc8
.
🚀 Features
- Add --no-color to cli - by @jereklas in #1849
- Support auto retry on Node segfault
--segfault-retry
- by @tony19 @antfu in #1854 - Support
istanbul
coverage provider - by @AriPerkkio and @antfu in #1676 - cli: Support passing
--inspect
and--inspect-brk
- by @antfu (ea80f)
🐞 Bug Fixes
- Handle undefined returns of module mocks, and update migration docs - by @jereklas in #1763 and #1830
- Clear pattern when rerun all tests - by @ChpShy in #1834
- reporter-junit: Remove trailing zeros in duration - by @nieyuyao in #1842