v2.1.0-beta.7
Pre-release
Pre-release
github-actions
released this
09 Sep 15:13
·
201 commits
to main
since this release
🚀 Features
- browser:
- Support
userEvent.upload
in playwright provider - by @sheremet-va in #6442 (cf148) - Support
--inspect
- by @AriPerkkio in #6433 (0499a) - Support
--inspect-brk
- by @AriPerkkio in #6434 (7ab0f)
- Support
- cli:
- Extend existing list command to output only a list of file names - by @Ma-hawaj and @sheremet-va in #6392 (008f0)
- mocker:
- Introduce @vitest/mocker package, allow
{ spy: true }
instead of a factory - by @sheremet-va in #6289 (95f02)
- Introduce @vitest/mocker package, allow
- vitest:
- Allow env to be stubbed to undefined - by @JSanchezIO and @sheremet-va in #6359 (c3b27)
🐞 Bug Fixes
- Cjs build of vite node server - by @AkaraChen in #6389 (12e70)
- Allow inlining vite's cached dependencies - by @chriswheeldon-peakon in #6284 (03208)
- Print unexpected error message if peer dependencies have a different version - by @sheremet-va in #6446 (b992b)
- Ignore importer when resolving Vitest - by @sheremet-va in #6469 (0b447)
- browser:
- Correctly run in-source tests in the browser - by @sheremet-va in #6440 (c8531)
- Exclude missed packages from optimization, print help message - by @sheremet-va in #6445 (8d883)
- runner:
- types:
- ui:
- Remove "filters" flickering - by @sheremet-va in #6463 (0223b)
- vite-node:
- vitest:
- Dispose vmForks listeners to avoid memory leak - by @sheremet-va in #6448 (2673c)