v3.0.9
📦 vitestView on GitHub →
🐛 13 fixes🔧 13 symbols
Summary
This patch release (v3.0.9) includes a collection of bug fixes across core APIs, browser runner, coverage, vite-node, and web‑worker handling.
🐛 Bug Fixes
- Typings of `ctx.skip()` updated to `never`.
- Cleaned up vitest in public `resolveConfig` API.
- Fixed `toHaveBeenCalledWith(asymmetricMatcher)` handling of `undefined` arguments.
- Resolved race condition in RPC filesystem cache.
- Fixed `getState().testPath` during collection with no isolation.
- Added support for custom `toString` method in `%s` format.
- Browser: Playwright timeouts now fail earlier than test timeout.
- Browser: Removed `@testing-library/dom` from dependencies.
- Coverage: Added browser mode support with `coverage.all`.
- Runner: Stacktrace now shown on hook timeout errors.
- Vite-node: Fixed source map handling for inlined node_modules.
- Vite-node: Fixed missing `buildStart` hook.
- Web-worker: Ensured `removeEventListener` is bound to worker.
🔧 Affected Symbols
ctx.skipresolveConfigtoHaveBeenCalledWithRPC filesystem cachegetStatecustom toString in %s formatplaywright timeout handling@testing-library/domcoverage.allhook timeout stacktracevite-node source map handlingbuildStartremoveEventListener