🚀 Features
- watch: Press
r
should rerun current pattern tests - by @Dunqing and @AriPerkkio in #3305 (69d27)
🐞 Bug Fixes
- Make sure thrown error is an object - by @sheremet-va in #3298 (a93be)
- Remove duplicate type - by @sheremet-va in #3303 (5382e)
- Throw an error, if tests are collected with a different vitest version - by @sheremet-va in #3301 (708b1)
- Support application/x-gzip metadata in html report - by @mzanelee and Michael Lee in #3333 (5bf7e)
- Correctly restore vi.fn implementation - by @sheremet-va in #3341 (2aff8)
- Display error message correctly - by @btea in #3314 (a5b3d)
- Exclude
cwd
from test name filter - by @AriPerkkio in #3353 (324a9) - Check error type before modifying it - by @sheremet-va in #3385 (c44d9)
toMatchInlineSnapshot
fails when file path includes parentheses - by @pacexy in #3370 and #3371 (dcf13)- Stop spying on a method, when it's restored - by @sheremet-va in #3386 (2cb1a)
- Test repeats - by @fenghan34 in #3369 (fb8fc)
- browser:
- Throw an error if test failed to load - by @sheremet-va in #3390 (b354b)
- Keep default export when rewriting exports - by @sheremet-va in #3389 (6501d)
- cli:
- Improve cac errors when mixing boolean and dot notation - by @AriPerkkio in #3302 (93fbd)
- reporter:
- Prevent deleting test reports stored in coverage directory - by @AriPerkkio in #3331 (ddbba)
- typecheck:
- Correctly resolve custom tsconfig path - by @sheremet-va in #3342 (c53ae)
- vite-node:
- Allow returning id not wrapped in promise - by @danielroe in #3312 (9836c)