v3.1.0-beta.1
📦 vitestView on GitHub →
✨ 6 features🔧 6 symbols
Summary
Vitest v3.1.0-beta.1 introduces several new testing options, reporter enhancements, and conditional skipping support.
✨ New Features
- Introduce `%$` option to add number of the test to its title
- Add `diff.maxDepth` option and set a non-`Infinity` default to reduce crashes
- Allow array element for `test.each/for` title formatting
- Reporter now always renders test time
- `--silent=passed-only` flag added to log only failed tasks
- Allow conditional `context.skip(boolean)`
🔧 Affected Symbols
%$diff.maxDepthtest.eachtest.forreportercontext.skip