vitest-dev/vitest
### [`v0.22.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0)
##### 🚨 Breaking Changes
- `c8` coverage support now require peer dependency `@vitest/coverage-c8` to be installed. Alternatively, you can install `@vitest/coverage-istanbul` to use `istanbul` for coverage instead of `c8`.
##### 🚀 Features
- Add --no-color to cli - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1849](https://togithub.com/vitest-dev/vitest/issues/1849)
- Support auto retry on Node segfault `--segfault-retry` - by [@tony19](https://togithub.com/tony19) [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1854](https://togithub.com/vitest-dev/vitest/issues/1854)
- Support `istanbul` coverage provider - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1676](https://togithub.com/vitest-dev/vitest/issues/1676)
- **cli**: Support passing `--inspect` and `--inspect-brk` - by [@antfu](https://togithub.com/antfu) [(ea80f)](https://togithub.com/vitest-dev/vitest/commit/ea80f2bf)
##### 🐞 Bug Fixes
- Handle undefined returns of module mocks, and update migration docs - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1763](https://togithub.com/vitest-dev/vitest/issues/1763) and [https://github.com/vitest-dev/vitest/issues/1830](https://togithub.com/vitest-dev/vitest/issues/1830)
- Clear pattern when rerun all tests - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1834](https://togithub.com/vitest-dev/vitest/issues/1834)
- **reporter-junit**: Remove trailing zeros in duration - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1842](https://togithub.com/vitest-dev/vitest/issues/1842)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0)
### [`v0.21.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.21.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.0...v0.21.1)
##### 🚀 Features
- **types**: Better local test context support - by [@Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1805](https://togithub.com/vitest-dev/vitest/issues/1805)
##### 🐞 Bug Fixes
- Symbol.toStringTag on Module is non-enumerable - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1808](https://togithub.com/vitest-dev/vitest/issues/1808)
- Tap reporter doesn't throw - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1810](https://togithub.com/vitest-dev/vitest/issues/1810)
- Add error message when mock is missing export - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1819](https://togithub.com/vitest-dev/vitest/issues/1819)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.0...v0.21.1)
### [`v0.21.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.21.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0)
##### 🚀 Features
- Show stack trace for aggregated errors, show full stack trace - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1777](https://togithub.com/vitest-dev/vitest/issues/1777)
- Allow timeout in test.each - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1787](https://togithub.com/vitest-dev/vitest/issues/1787)
- Treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1778](https://togithub.com/vitest-dev/vitest/issues/1778)
- Allow using todo/skip/concurrent with each - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1802](https://togithub.com/vitest-dev/vitest/issues/1802)
##### 🐞 Bug Fixes
- Better bundling of types - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1785](https://togithub.com/vitest-dev/vitest/issues/1785)
- ToHaveProperty should judge object own property - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1795](https://togithub.com/vitest-dev/vitest/issues/1795)
- Plugins don't think it's watch mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1784](https://togithub.com/vitest-dev/vitest/issues/1784)
- Gracefully handle unsettable keys during automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1786](https://togithub.com/vitest-dev/vitest/issues/1786)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0)
### [`v0.20.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3)
##### 🚀 Features
- Show start time in test summary - by [@mikekidder](https://togithub.com/mikekidder), [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1734](https://togithub.com/vitest-dev/vitest/issues/1734)
- **types**: Add partial flag to mocked TypeScript helper - by [@jfrs](https://togithub.com/jfrs) in [https://github.com/vitest-dev/vitest/issues/1739](https://togithub.com/vitest-dev/vitest/issues/1739) and [https://github.com/vitest-dev/vitest/issues/1742](https://togithub.com/vitest-dev/vitest/issues/1742)
##### 🐞 Bug Fixes
- Add missing per-file option on coverage - by [@patrickelectric](https://togithub.com/patrickelectric) in [https://github.com/vitest-dev/vitest/issues/1775](https://togithub.com/vitest-dev/vitest/issues/1775)
- Correctly restore globals in env teardown - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1774](https://togithub.com/vitest-dev/vitest/issues/1774)
- Disable node loader for Yarn PnP - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1773](https://togithub.com/vitest-dev/vitest/issues/1773)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3)
### [`v0.20.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2)
##### 🚀 Features
- Add deps.registerNodeLoader option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1751](https://togithub.com/vitest-dev/vitest/issues/1751)
##### 🐞 Bug Fixes
- Don't throw in Node 18.6 - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1750](https://togithub.com/vitest-dev/vitest/issues/1750)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2)
### [`v0.20.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1)
##### 🐞 Bug Fixes
- Bundle suppress-warnings - by [@sheremet-va](https://togithub.com/sheremet-va) [(bd567)](https://togithub.com/vitest-dev/vitest/commit/bd567f74)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1)
### [`v0.20.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0)
##### 🚨 Breaking Changes
- Apply Vite resolving algorithm to node_modules libraries - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1673](https://togithub.com/vitest-dev/vitest/issues/1673)
##### 🚀 Features
- Add option for ignoring unhandled errors - by [@DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/1678](https://togithub.com/vitest-dev/vitest/issues/1678)
- **vite-node**: Allow dumpping the transformed code to debug - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1723](https://togithub.com/vitest-dev/vitest/issues/1723)
##### 🐞 Bug Fixes
- Don't clear mocks with vi.resetModules, cache normalised mock paths - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1726](https://togithub.com/vitest-dev/vitest/issues/1726)
- Improve execution time counter - by [@antfu](https://togithub.com/antfu) [(0d1f1)](https://togithub.com/vitest-dev/vitest/commit/0d1f1e87)
- **browser**: Wait for files scanning in browser - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1704](https://togithub.com/vitest-dev/vitest/issues/1704)
- **coverage**: Include `clover` reporter by default - by [@antfu](https://togithub.com/antfu) [(5862e)](https://togithub.com/vitest-dev/vitest/commit/5862e32e)
- **jsdom**: Use jsdom ArrayBuffer instead of Node, if jsdom is enabled - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1727](https://togithub.com/vitest-dev/vitest/issues/1727)
- **types**: Fix MockedClass typeParams - by [@Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1735](https://togithub.com/vitest-dev/vitest/issues/1735)
- **ui**: Do not load graph if never displayed (fix [#1602](https://togithub.com/vitest-dev/vitest/issues/1602)) - by [@MPeloquin](https://togithub.com/MPeloquin) in [https://github.com/vitest-dev/vitest/issues/1719](https://togithub.com/vitest-dev/vitest/issues/1719)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0)
### [`v0.19.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1)
##### 🚀 Features
- Add mock snapshot serializer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1717](https://togithub.com/vitest-dev/vitest/issues/1717)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1)
### [`v0.19.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0)
##### 🚨 Breaking Changes
- Add CSS styles to DOM - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1690](https://togithub.com/vitest-dev/vitest/issues/1690)
##### 🚀 Features
- Add Playwright example - by [@jfgreffier](https://togithub.com/jfgreffier) in [https://github.com/vitest-dev/vitest/issues/1670](https://togithub.com/vitest-dev/vitest/issues/1670)
- Add location to json reporter - by [@shiradofu](https://togithub.com/shiradofu) in [https://github.com/vitest-dev/vitest/issues/1656](https://togithub.com/vitest-dev/vitest/issues/1656)
- Add alias option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1634](https://togithub.com/vitest-dev/vitest/issues/1634)
- Init [@vitest/browser](https://togithub.com/vitest/browser) package - by [@antfu](https://togithub.com/antfu), [@userquin](https://togithub.com/userquin) and [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1302](https://togithub.com/vitest-dev/vitest/issues/1302)
- Make close timeout configurable - by [@krishnan-chandra](https://togithub.com/krishnan-chandra) in [https://github.com/vitest-dev/vitest/issues/1697](https://togithub.com/vitest-dev/vitest/issues/1697)
##### 🐞 Bug Fixes
- Exclude dist directory from default coverage - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1664](https://togithub.com/vitest-dev/vitest/issues/1664)
- Exclude cypress config from default coverage - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1663](https://togithub.com/vitest-dev/vitest/issues/1663)
- Works with yarn pnp - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1667](https://togithub.com/vitest-dev/vitest/issues/1667)
- Code frame tabs indent (fix: [#1679](https://togithub.com/vitest-dev/vitest/issues/1679)) - by [@skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1680](https://togithub.com/vitest-dev/vitest/issues/1680)
- ToHaveProperty with expect.any (fix: [#1675](https://togithub.com/vitest-dev/vitest/issues/1675)) - by [@skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1682](https://togithub.com/vitest-dev/vitest/issues/1682)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.18.0
->^0.22.0
Release Notes
vitest-dev/vitest
### [`v0.22.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0) ##### 🚨 Breaking Changes - `c8` coverage support now require peer dependency `@vitest/coverage-c8` to be installed. Alternatively, you can install `@vitest/coverage-istanbul` to use `istanbul` for coverage instead of `c8`. ##### 🚀 Features - Add --no-color to cli - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1849](https://togithub.com/vitest-dev/vitest/issues/1849) - Support auto retry on Node segfault `--segfault-retry` - by [@tony19](https://togithub.com/tony19) [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1854](https://togithub.com/vitest-dev/vitest/issues/1854) - Support `istanbul` coverage provider - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1676](https://togithub.com/vitest-dev/vitest/issues/1676) - **cli**: Support passing `--inspect` and `--inspect-brk` - by [@antfu](https://togithub.com/antfu) [(ea80f)](https://togithub.com/vitest-dev/vitest/commit/ea80f2bf) ##### 🐞 Bug Fixes - Handle undefined returns of module mocks, and update migration docs - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1763](https://togithub.com/vitest-dev/vitest/issues/1763) and [https://github.com/vitest-dev/vitest/issues/1830](https://togithub.com/vitest-dev/vitest/issues/1830) - Clear pattern when rerun all tests - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1834](https://togithub.com/vitest-dev/vitest/issues/1834) - **reporter-junit**: Remove trailing zeros in duration - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1842](https://togithub.com/vitest-dev/vitest/issues/1842) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0) ### [`v0.21.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.21.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.0...v0.21.1) ##### 🚀 Features - **types**: Better local test context support - by [@Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1805](https://togithub.com/vitest-dev/vitest/issues/1805) ##### 🐞 Bug Fixes - Symbol.toStringTag on Module is non-enumerable - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1808](https://togithub.com/vitest-dev/vitest/issues/1808) - Tap reporter doesn't throw - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1810](https://togithub.com/vitest-dev/vitest/issues/1810) - Add error message when mock is missing export - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1819](https://togithub.com/vitest-dev/vitest/issues/1819) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.0...v0.21.1) ### [`v0.21.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.21.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0) ##### 🚀 Features - Show stack trace for aggregated errors, show full stack trace - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1777](https://togithub.com/vitest-dev/vitest/issues/1777) - Allow timeout in test.each - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1787](https://togithub.com/vitest-dev/vitest/issues/1787) - Treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1778](https://togithub.com/vitest-dev/vitest/issues/1778) - Allow using todo/skip/concurrent with each - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1802](https://togithub.com/vitest-dev/vitest/issues/1802) ##### 🐞 Bug Fixes - Better bundling of types - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1785](https://togithub.com/vitest-dev/vitest/issues/1785) - ToHaveProperty should judge object own property - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1795](https://togithub.com/vitest-dev/vitest/issues/1795) - Plugins don't think it's watch mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1784](https://togithub.com/vitest-dev/vitest/issues/1784) - Gracefully handle unsettable keys during automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1786](https://togithub.com/vitest-dev/vitest/issues/1786) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0) ### [`v0.20.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) ##### 🚀 Features - Show start time in test summary - by [@mikekidder](https://togithub.com/mikekidder), [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1734](https://togithub.com/vitest-dev/vitest/issues/1734) - **types**: Add partial flag to mocked TypeScript helper - by [@jfrs](https://togithub.com/jfrs) in [https://github.com/vitest-dev/vitest/issues/1739](https://togithub.com/vitest-dev/vitest/issues/1739) and [https://github.com/vitest-dev/vitest/issues/1742](https://togithub.com/vitest-dev/vitest/issues/1742) ##### 🐞 Bug Fixes - Add missing per-file option on coverage - by [@patrickelectric](https://togithub.com/patrickelectric) in [https://github.com/vitest-dev/vitest/issues/1775](https://togithub.com/vitest-dev/vitest/issues/1775) - Correctly restore globals in env teardown - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1774](https://togithub.com/vitest-dev/vitest/issues/1774) - Disable node loader for Yarn PnP - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1773](https://togithub.com/vitest-dev/vitest/issues/1773) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) ### [`v0.20.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) ##### 🚀 Features - Add deps.registerNodeLoader option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1751](https://togithub.com/vitest-dev/vitest/issues/1751) ##### 🐞 Bug Fixes - Don't throw in Node 18.6 - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1750](https://togithub.com/vitest-dev/vitest/issues/1750) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) ### [`v0.20.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) ##### 🐞 Bug Fixes - Bundle suppress-warnings - by [@sheremet-va](https://togithub.com/sheremet-va) [(bd567)](https://togithub.com/vitest-dev/vitest/commit/bd567f74) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) ### [`v0.20.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) ##### 🚨 Breaking Changes - Apply Vite resolving algorithm to node_modules libraries - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1673](https://togithub.com/vitest-dev/vitest/issues/1673) ##### 🚀 Features - Add option for ignoring unhandled errors - by [@DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/1678](https://togithub.com/vitest-dev/vitest/issues/1678) - **vite-node**: Allow dumpping the transformed code to debug - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1723](https://togithub.com/vitest-dev/vitest/issues/1723) ##### 🐞 Bug Fixes - Don't clear mocks with vi.resetModules, cache normalised mock paths - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1726](https://togithub.com/vitest-dev/vitest/issues/1726) - Improve execution time counter - by [@antfu](https://togithub.com/antfu) [(0d1f1)](https://togithub.com/vitest-dev/vitest/commit/0d1f1e87) - **browser**: Wait for files scanning in browser - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1704](https://togithub.com/vitest-dev/vitest/issues/1704) - **coverage**: Include `clover` reporter by default - by [@antfu](https://togithub.com/antfu) [(5862e)](https://togithub.com/vitest-dev/vitest/commit/5862e32e) - **jsdom**: Use jsdom ArrayBuffer instead of Node, if jsdom is enabled - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1727](https://togithub.com/vitest-dev/vitest/issues/1727) - **types**: Fix MockedClass typeParams - by [@Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1735](https://togithub.com/vitest-dev/vitest/issues/1735) - **ui**: Do not load graph if never displayed (fix [#1602](https://togithub.com/vitest-dev/vitest/issues/1602)) - by [@MPeloquin](https://togithub.com/MPeloquin) in [https://github.com/vitest-dev/vitest/issues/1719](https://togithub.com/vitest-dev/vitest/issues/1719) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) ### [`v0.19.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) ##### 🚀 Features - Add mock snapshot serializer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1717](https://togithub.com/vitest-dev/vitest/issues/1717) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) ### [`v0.19.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0) ##### 🚨 Breaking Changes - Add CSS styles to DOM - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1690](https://togithub.com/vitest-dev/vitest/issues/1690) ##### 🚀 Features - Add Playwright example - by [@jfgreffier](https://togithub.com/jfgreffier) in [https://github.com/vitest-dev/vitest/issues/1670](https://togithub.com/vitest-dev/vitest/issues/1670) - Add location to json reporter - by [@shiradofu](https://togithub.com/shiradofu) in [https://github.com/vitest-dev/vitest/issues/1656](https://togithub.com/vitest-dev/vitest/issues/1656) - Add alias option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1634](https://togithub.com/vitest-dev/vitest/issues/1634) - Init [@vitest/browser](https://togithub.com/vitest/browser) package - by [@antfu](https://togithub.com/antfu), [@userquin](https://togithub.com/userquin) and [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1302](https://togithub.com/vitest-dev/vitest/issues/1302) - Make close timeout configurable - by [@krishnan-chandra](https://togithub.com/krishnan-chandra) in [https://github.com/vitest-dev/vitest/issues/1697](https://togithub.com/vitest-dev/vitest/issues/1697) ##### 🐞 Bug Fixes - Exclude dist directory from default coverage - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1664](https://togithub.com/vitest-dev/vitest/issues/1664) - Exclude cypress config from default coverage - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1663](https://togithub.com/vitest-dev/vitest/issues/1663) - Works with yarn pnp - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1667](https://togithub.com/vitest-dev/vitest/issues/1667) - Code frame tabs indent (fix: [#1679](https://togithub.com/vitest-dev/vitest/issues/1679)) - by [@skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1680](https://togithub.com/vitest-dev/vitest/issues/1680) - ToHaveProperty with expect.any (fix: [#1675](https://togithub.com/vitest-dev/vitest/issues/1675)) - by [@skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1682](https://togithub.com/vitest-dev/vitest/issues/1682) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.