v1.6.0
🚀 Features
- Support standalone mode - by @sheremet-va in #5565 (bdce0)
- Custom "snapshotEnvironment" option - by @sheremet-va in #5449 (30f72)
- benchmark: Support comparing benchmark result - by @hi-ogawa and @sheremet-va in #5398 (f8d3d)
- browser: Allow injecting scripts - by @sheremet-va in #5656 (21e58)
- reporter: Support
includeConsoleOutput
andaddFileAttribute
in junit - by @hi-ogawa in #5659 (2f913) - ui: Sort items by file name - by @btea in #5652 (1f726)
🐞 Bug Fixes
- Keep order of arguments for .each in custom task collectors - by @sheremet-va in #5640 (7d57c)
- Call
resolveId('vitest')
afterbuildStart
- by @hi-ogawa in #5646 (f5faf) - Hash the name of the file when caching - by @sheremet-va in #5654 (c9e68)
- Don't panic on empty files in node_modules - by @sheremet-va (40c29)
- Use
toJSON
for error serialization - by @hi-ogawa in #5526 (19a21) - coverage:
- Exclude
*.test-d.*
by default - by @MindfulPol in #5634 (bfe8a) - Apply
vite-node
's wrapper only to executed files - by @AriPerkkio in #5642 (c9883)
- Exclude
- vm:
- Support network imports - by @sheremet-va in #5610 (103a6)
🏎 Performance
- Improve performance of forks pool - by @sheremet-va in #5592 (d8304)
- Unnecessary rpc call when coverage is disabled - by @AriPerkkio in #5658 (c5712)