v2.1.4
🚀 Features
This patch release includes a non-breaking feature for the experimental Browser Mode that doesn't follow SemVer. If you want to avoid picking up releases like this, make sure to pin the Vitest version in your package.json
. See npm's documentation about semver for more information.
- browser: Allow custom HTML path, respect plugins
transformIndexHtml
- by @sheremet-va in #6725 (16902)
🐞 Bug Fixes
- windows:
- Don't normalize drive case letter in root - by @sheremet-va in #6792 (b28cd)
- browser:
- Fix default browser port - by @hi-ogawa in #6700 (9c518)
- Optimize expect-type - by @sheremet-va in #6713 (07918)
- Don't polyfill process.env - by @sheremet-va in #6718 (da6d2)
- Increment browser port automatically if there are several projects with browser.enabled - by @sheremet-va in #6717 (a9397)
- Cleanup keyboard state - by @hi-ogawa in #6731 (19278)
- Don't add
v=
queries to setup files imports - by @sheremet-va in #6759 (b8258) - User event cleanup on retry - by @hi-ogawa in #6764 (bdd15)
- Ignore non mocked msw requests - by @sheremet-va in #6770 (9d9ba)
- Initiate MSW in the same frame as tests - by @sheremet-va in #6772 (2444f)
- deps:
- expect:
- mocker:
- Remove spy from peer dependencies - by @sheremet-va in #6777 (3a8b5)
- vitest:
- Clarify slowTestThreshold, print slow tests in non-TTY mode - by @sheremet-va in #6715 (2e6aa)
- Print warnings form Vite plugins - by @sheremet-va in #6724 (121b1)
- Don't fail if the working directory starts with a lowercase drive letter - by @sheremet-va in #6779 (df6d7)
- Silence import analysis warning - by @hi-ogawa in #6785 (39041)
- vitest,runner: