vitest-dev/vitest (vitest)
### [`v2.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4)
##### 🐞 Bug Fixes
- One-line environment options - by [@hahanein](https://togithub.com/hahanein) in [https://github.com/vitest-dev/vitest/issues/5105](https://togithub.com/vitest-dev/vitest/issues/5105) [(38269)](https://togithub.com/vitest-dev/vitest/commit/38269415)
- Resolve assets imported with `require` - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6159](https://togithub.com/vitest-dev/vitest/issues/6159) [(807a2)](https://togithub.com/vitest-dev/vitest/commit/807a2cbc)
- **browser**:
- Don't panic if [@vitest/browser](https://togithub.com/vitest/browser) is installed outside of project root - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6135](https://togithub.com/vitest-dev/vitest/issues/6135) [(ccfcd)](https://togithub.com/vitest-dev/vitest/commit/ccfcd488)
- Set global filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6190](https://togithub.com/vitest-dev/vitest/issues/6190) [(0d0b4)](https://togithub.com/vitest-dev/vitest/commit/0d0b46b1)
- Allow preview and open in the editor screenshot error from ui - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6113](https://togithub.com/vitest-dev/vitest/issues/6113) [(2d620)](https://togithub.com/vitest-dev/vitest/commit/2d62051f)
- **coverage**:
- Global thresholds to include files from glob thresholds - by [@thor-juhasz](https://togithub.com/thor-juhasz) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6172](https://togithub.com/vitest-dev/vitest/issues/6172) [(02e3f)](https://togithub.com/vitest-dev/vitest/commit/02e3f003)
- Consistent type-only file handling - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6183](https://togithub.com/vitest-dev/vitest/issues/6183) [(90576)](https://togithub.com/vitest-dev/vitest/commit/90576148)
- Ignore `*.cts` files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6189](https://togithub.com/vitest-dev/vitest/issues/6189) [(5da45)](https://togithub.com/vitest-dev/vitest/commit/5da45db1)
- Add `thresholds..100` option - by [@thor-juhasz](https://togithub.com/thor-juhasz) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6174](https://togithub.com/vitest-dev/vitest/issues/6174) [(f6845)](https://togithub.com/vitest-dev/vitest/commit/f68453f8)
- **spy**:
- Fix `mockImplementation` for function overload and unions - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6181](https://togithub.com/vitest-dev/vitest/issues/6181) [(7a75b)](https://togithub.com/vitest-dev/vitest/commit/7a75bd4c)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.0.3
->2.0.4
Release Notes
vitest-dev/vitest (vitest)
### [`v2.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4) ##### 🐞 Bug Fixes - One-line environment options - by [@hahanein](https://togithub.com/hahanein) in [https://github.com/vitest-dev/vitest/issues/5105](https://togithub.com/vitest-dev/vitest/issues/5105) [(38269)](https://togithub.com/vitest-dev/vitest/commit/38269415) - Resolve assets imported with `require` - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6159](https://togithub.com/vitest-dev/vitest/issues/6159) [(807a2)](https://togithub.com/vitest-dev/vitest/commit/807a2cbc) - **browser**: - Don't panic if [@vitest/browser](https://togithub.com/vitest/browser) is installed outside of project root - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6135](https://togithub.com/vitest-dev/vitest/issues/6135) [(ccfcd)](https://togithub.com/vitest-dev/vitest/commit/ccfcd488) - Set global filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6190](https://togithub.com/vitest-dev/vitest/issues/6190) [(0d0b4)](https://togithub.com/vitest-dev/vitest/commit/0d0b46b1) - Allow preview and open in the editor screenshot error from ui - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6113](https://togithub.com/vitest-dev/vitest/issues/6113) [(2d620)](https://togithub.com/vitest-dev/vitest/commit/2d62051f) - **coverage**: - Global thresholds to include files from glob thresholds - by [@thor-juhasz](https://togithub.com/thor-juhasz) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6172](https://togithub.com/vitest-dev/vitest/issues/6172) [(02e3f)](https://togithub.com/vitest-dev/vitest/commit/02e3f003) - Consistent type-only file handling - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6183](https://togithub.com/vitest-dev/vitest/issues/6183) [(90576)](https://togithub.com/vitest-dev/vitest/commit/90576148) - Ignore `*.cts` files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6189](https://togithub.com/vitest-dev/vitest/issues/6189) [(5da45)](https://togithub.com/vitest-dev/vitest/commit/5da45db1) - Add `thresholds.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.