Update dependency vitest to v2.1.4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vitest (source) | devDependencies | patch | 2.1.3 -> 2.1.4 |
Release Notes
vitest-dev/vitest (vitest)
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 https://github.com/vitest-dev/vitest/issues/6725 (16902)
🐞 Bug Fixes
-
windows:
- Don't normalize drive case letter in root - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6792 (b28cd)
-
browser:
- Fix default browser port - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6700 (9c518)
- Optimize expect-type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6713 (07918)
- Don't polyfill process.env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6718 (da6d2)
- Increment browser port automatically if there are several projects with browser.enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6717 (a9397)
- Cleanup keyboard state - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6731 (19278)
- Don't add
v=
queries to setup files imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6759 (b8258) - User event cleanup on retry - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6764 (bdd15)
- Ignore non mocked msw requests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6770 (9d9ba)
- Initiate MSW in the same frame as tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6772 (2444f)
-
deps:
- Update dependency sirv to v3 - in https://github.com/vitest-dev/vitest/issues/6701 (fde5d)
-
expect:
- Correct behavior of
toThrowError
with empty string parameter - by @shulaoda in https://github.com/vitest-dev/vitest/issues/6710 (a6129)
- Correct behavior of
-
mocker:
- Remove spy from peer dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6777 (3a8b5)
-
vitest:
- Clarify slowTestThreshold, print slow tests in non-TTY mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6715 (2e6aa)
- Print warnings form Vite plugins - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6724 (121b1)
- Don't fail if the working directory starts with a lowercase drive letter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6779 (df6d7)
- Silence import analysis warning - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6785 (39041)
-
vitest,runner:
- Simplify
test.extend
type exports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6707 (e5c38)
- Simplify
🏎 Performance
- Use
hash
to replacecreateHash
- by @btea in https://github.com/vitest-dev/vitest/issues/6703 (5d07b)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.