🚀 Features
- Deprecate watchExclude - by @patak-dev in #5171 (82885)
- browser:
- Run test files in isolated iframes - by @sheremet-va in #5036 (4f401)
- config:
- Add
snapshotSerializers
option - by @fenghan34 in #5092 (5b102)
- Add
- reporters:
- Support custom options - by @AriPerkkio in #5111 (fec9c)
- runner:
- Support automatic fixtures - by @fenghan34 and @sheremet-va in #5102 (0441f)
- ui:
- vitest:
- Add onTestFinished hook - by @sheremet-va in #5128 (6f5b4)
- Add github actions reporter - by @hi-ogawa in #5093 (40afb)
- Expose jsdom global if jsdom environment is enabled - by @sheremet-va in #5155 (567d2)
- Add new CLI options - by @sheremet-va in #5163 (4e179)
- "test" accepts options object as the second parameter - by @sheremet-va in #5142 (7d9b1)
- vm:
🐞 Bug Fixes
- Fix sourcemap in vm pools - by @hi-ogawa in #5063 (81105)
- Don't optimize react/jsx-runtime by default when running in Node - by @sheremet-va in #5079 (0d2bf)
- Rpc timeout error messages to include caller - by @AriPerkkio in #5103 (a6e04)
- Requires fixed version across the monorepo - by @antfu in #5208 (68f51)
- Prevent merging of
poolOptions
- by @penalosa in #5221 (bc5b2) - browser:
- Don't exclude node builtins from optimization - by @sheremet-va in #5082 (714c9)
- Support
coverage.reportsDirectory
with multiple directories - by @AriPerkkio in #5056 (ae73f)
- cli:
- Parse
--browser=<name>
correctly - by @AriPerkkio in #5179 (656e2)
- Parse
- coverage:
.tmp
directory conflicts with--shard
option - by @AriPerkkio in #5184 (5749d)
- deps:
- reporters:
- Testsuite name should include project root in Junit output - by @fenghan34 in #5116 (2494f)
- typecheck:
- ui:
- Fix tests duration time - by @vovsemenv in #5219 (58103)
- utils:
- vitest:
- Correctly report failed test files as failures in json reporter, export json reporter types - by @sheremet-va in #5081 (0417b)
- Don't run typecheck tests in browser if both are enabled - by @sheremet-va in #5080 (1045b)
- Handle function config inside
defineWorkspace
- by @hi-ogawa in #5089 (0bf52) - Remove excessive listeners when running without isolation, don't reset the state - by @sheremet-va in #5132 (b607f)
- Auto-enable "github-actions" only where users didn't configure reporters - by @hi-ogawa in #5158 (ef044)
- Support more array cli options - by @hi-ogawa in #5162 (3afe6)
- Add types for the new global
jsdom
variable - by @sheremet-va in #5164 (0f898) - Expose onTestFinished globally - by @sheremet-va (1304f)
- Disable optimizer by default until it's stable - by @sheremet-va in #5156 (e1bd8)
- Delegate snapshot options to workspace from root config - by @hi-ogawa in #5199 (86297)
- Fix
optimizeDeps.disabled
warnings on Vite 5.1 - by @hi-ogawa in #5215 (1aecd)
- vm: