v4.1.0-beta.6
📦 vitestView on GitHub →
✨ 2 features🐛 9 fixes🔧 6 symbols
Summary
This release introduces new tracing and reporting features, alongside numerous bug fixes addressing issues in jsdom, module loading, fixtures, and reporter behavior.
✨ New Features
- Add `page/locator.mark` API to enhance playwright trace.
- Add run summary in GitHub Actions Reporter for vitest.
🐛 Bug Fixes
- Fix `URL.name` on jsdom.
- Save and restore module graph in blob reporter.
- Don't silence reporter errors from test runtime events handler in normal run and --merge-reports.
- Fix `vi.importActual()` for virtual modules.
- Throw `FixtureAccessError` if suite hook accesses undefined fixture.
- Allow hyphens in project config file name pattern.
- Manual and redirect mock shouldn't `load` or `transform` original module.
- `hideSkippedTests` should not hide `test.todo`.
- Fix types of `getCDPSession` and `cdp()` in browser mode.