v3.0.6
📦 vitestView on GitHub →
🐛 18 fixes🔧 10 symbols
Summary
Vitest v3.0.6 includes numerous bug fixes across core, browser, coverage, dependencies, init, reporters, vite-node, watch, and workspace modules.
🐛 Bug Fixes
- Fixed `getMockedSystemTime` for `useFakeTimer`.
- Added compatibility for jest-image-snapshot.
- Made project names readable in dark terminals.
- Excluded `queueMicrotask` from default fake timers to avoid breaking node fetch.
- Switched to `tinyglobby` instead of `fast-glob`.
- Browser: Fixed mocking modules out of root.
- Browser: Fixed `toHaveClass` typing.
- Browser: Relaxed locator selectors methods.
- Browser: Resolved thread count from `maxWorkers`.
- Browser: Cleaned up timeout on resolve and provided more error information.
- Coverage: `vite-node` now passes correct execution wrapper offset.
- Coverage: Preserved `moduleExecutionInfo` in non-isolated runs.
- Deps: Updated all non-major dependencies.
- Init: Fixed invalid browser config.
- Reporters: Render tasks in tree when in TTY.
- Vite-node: Removed fake first line mapping on Vite 6.
- Watch: Properly removed cache after deleting test files.
- Workspace: Forwarded `inspect` related CLI options.
🔧 Affected Symbols
getMockedSystemTimeuseFakeTimerqueueMicrotasktinyglobbyfast-globtoHaveClassmaxWorkersvite-nodemoduleExecutionInfoinspect