🚨 Breaking Changes
- Support multiple parallel
child_process
- by @AriPerkkio in #3925 (8b4a4) - Add support for
pool
andpoolOptions
, remove old flags - by @AriPerkkio in #4172 (114a9)
🚀 Features
- Include "vitest" in the process name - by @sheremet-va in #4191 (404c1)
- runner: Improve text.extend types - by @Dunqing in #4176 (bbb43)
- vitest: Expose getBenchFn, getBenchOptions - by @sheremet-va in #4208 (8e5e4)
🐞 Bug Fixes
- Don't optimize vue when using optimizer - by @sheremet-va (4e941)
- Overwrite global URL with environment's - by @sheremet-va in #4164 (6a66b)
- Overwrite global URL with environment's - by @sheremet-va in #4164 (cbe13)
- Correctly resolve external dependencies loaded by custom environments - by @sheremet-va in #4196 (39647)
- Correctly resolve external dependencies loaded by custom environments - by @sheremet-va in #4196 (e3408)
- Add multiple globals in VM+JSDOM - by @nstepien in #4199 and #4202 (fc947)
- Ignore "plugins" field in snapshotFormat option - by @sheremet-va in #4204 (db1ff)
nextTick
mocking error message to mention correct config option - by @AriPerkkio in #4215 (98fe3)- happy-dom:
- Don't crash when calling useFakeTimers with empty config - by @sheremet-va in #4214 (2e1a1)
- runner:
- vitest:
- Make @types/node optional - by @sheremet-va in #4210 (a5383)
- Inline chai types instead of using @types/chai - by @sheremet-va in #4209 (5f477)
- Don't initialize globalSetup if workspace doesn't run tests - by @sheremet-va in #4213 (06461)