Change8

v4.0.0-beta.8

Breaking Changes
📦 vitestView on GitHub →
1 breaking1 features

Summary

Vitest v4.0.0-beta.8 removes deprecated APIs and introduces `enableCoverage`/`disableCoverage` methods for coverage control.

⚠️ Breaking Changes

  • Removed previously deprecated APIs; code that still imports or calls these APIs will throw errors. Update your code to use the new supported APIs as documented.

Migration Steps

  1. Search for any usage of the now‑removed deprecated APIs and replace them with the recommended alternatives.

✨ New Features

  • Added new API methods `enableCoverage()` and `disableCoverage()` to control test coverage collection.