v4.0.2
📦 vitestView on GitHub →
🐛 4 fixes🔧 3 symbols
Summary
Vitest v4.0.2 includes several bug fixes addressing deprecation notice output, environment variable handling, and spy behavior.
🐛 Bug Fixes
- browser: Stop printing the deprecation notice in node_modules.
- pool: Assign environment variables before running tests to keep them in sync with process.env.
- spy: Properly inherit implementation's length property.
- spy: Reset spies when both restoreMocks and mockReset are enabled in the config.
🔧 Affected Symbols
browserpoolspy