🚨 Breaking Changes
- expect: Check more properties for error equality - by @hi-ogawa and @sheremet-va in #5876 (10023)
- spy: SpyOn reuses mock if method is already spyed on - by @sheremet-va and @hi-ogawa in #6464 (b3e43)
🚀 Features
- Expose versions from
vitest/node
entry point and statically on Vitest - by @sheremet-va in #7029 (be8d4) diff.printBasicPrototype: false
by default - by @hi-ogawa in #7043 (2b5c5)- Prepare the Vitest API to be stable - by @sheremet-va in #6962 (9a1b5)
- cli: Support location filters for suites - by @mzhubail in #7048 (751e2)
- expect: Add
toSatisfy
asymmetric matcher - by @hi-ogawa in #7022 (f691a) - ui: Make clicking on a test in the UI open the report section and scroll to the test failure if applicable - by @jacoberdman2147 in #6900 (1bf27)
🐞 Bug Fixes
- Persist cli filters as watch mode file filter - by @hi-ogawa in #6955 (cc703)
- browser: Fix user event state on preview provider - by @hi-ogawa in #7041 (8e944)
- coverage: Correct coverage when
isolate: false
is used - by @AriPerkkio in #6957 (426ce) - runner: Long synchronous tasks does not time out - by @ferdodo and @sheremet-va in #2920 and #6944 (2fb58)