v4.0.0-beta.4
📦 vitestView on GitHub →
✨ 2 features🐛 5 fixes🔧 5 symbols
Summary
Vitest v4.0.0-beta.4 adds Qwik support to the init CLI and a new `toMatchScreenshot` matcher, while fixing several bugs such as the `--changed` flag for list, RPC timeouts, and proper WebDriverIO driver closure.
✨ New Features
- Add Qwik support to the `vitest init` CLI command (browser feature).
- Introduce `toMatchScreenshot` matcher for visual regression testing.
🐛 Bug Fixes
- Add `--changed` flag support to the `vitest list` command.
- Prevent RPC timeout on slow thread‑blocking synchronous methods.
- Forbid setting the environment to `browser`.
- Update all non‑major dependencies.
- Ensure the WebDriverIO driver is properly closed before proceeding.
🔧 Affected Symbols
vitest.initvitest.listtoMatchScreenshotrpc.timeoutHandlerwdio.driverClose