v1.5.1
🚀 Features
- api:
startVitest()
to acceptstdout
andstdin
- by @AriPerkkio in #5493 (780b1)- This is listed as a feature, but it doesn't increase the minor version because
startVitest
API is experimental and doesn't follow semver.
- This is listed as a feature, but it doesn't increase the minor version because
🐞 Bug Fixes
- Close vite servers on all resolved projects - by @surc54 in #5544 (413ec)
- Fix default
import.meta.env.PROD: false
- by @hi-ogawa in #5561 (9c649) - Resolve cwd correctly when initiating projects - by @sheremet-va in #5582 (ec9d7)
- Always run
onTestFinished
in reverse order - by @sheremet-va in #5598 (23f29) - browser:
- coverage:
- Fix bundling of
v8-to-istanbul
- by @AriPerkkio in #5549 (df6a4) - Prevent crash when
cleanOnRerun
is disabled - by @AriPerkkio in #5540 (ea3c1) thresholds
to compare files relative to root - by @AriPerkkio in #5574 (80265)
- Fix bundling of
- expect:
- vitest:
- Fix false positive file filter match with leading slash - by @hi-ogawa in #5578 (316eb)
- Watch the output directory correctly - by @sheremet-va in #5584 (e40f9)
- StubEnv casts boolean on PROD/SSR/DEV - by @sheremet-va in #5590 (4da88)