v4.1.5
📦 vitestView on GitHub →
✨ 1 features🐛 11 fixes🔧 3 symbols
Summary
This release introduces experimental support for the Istanbul instrumenter option and resolves several bugs related to reporters, assertions, snapshot output, and web worker messaging.
✨ New Features
- Istanbul coverage now supports the `instrumenter` option.
🐛 Bug Fixes
- The --project negation now correctly excludes browser instances.
- Fixed project color label display in the HTML reporter.
- Fixed an issue where `vi.defineHelper` was incorrectly called as an object method.
- Aliased the `agent` reporter to `minimal`.
- Soft assertions now respect diff configuration options.
- AST collection now recognizes the `__vi_import_` prefix during static test discovery.
- Provided a more descriptive error message when the coverage reports directory is removed during a test run.
- Increased the default snapshot max output length.
- Fixed JSX/TSX syntax highlighting in the UI.
- Web worker now supports MessagePort objects referenced inside postMessage data.
- Made test-specification options writable in the API.