vitest-dev/vitest
### [`v0.27.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2)
##### 🚀 Features
- Add runAllTimersAsync from sinonjs - by [@guillaumeduboc](https://togithub.com/guillaumeduboc) in [https://github.com/vitest-dev/vitest/issues/2209](https://togithub.com/vitest-dev/vitest/issues/2209) [(40187)](https://togithub.com/vitest-dev/vitest/commit/40187bdb)
##### 🐞 Bug Fixes
- Document.defaultView references the same window as the global one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2649](https://togithub.com/vitest-dev/vitest/issues/2649) [(1ac4b)](https://togithub.com/vitest-dev/vitest/commit/1ac4bb8d)
- Trim input filename and test name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2650](https://togithub.com/vitest-dev/vitest/issues/2650) [(d3dcb)](https://togithub.com/vitest-dev/vitest/commit/d3dcbdc8)
- Increase default teardownTimeout - by [@sheremet-va](https://togithub.com/sheremet-va) [(13e53)](https://togithub.com/vitest-dev/vitest/commit/13e53ac7)
- Mock css files imported with "require" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2679](https://togithub.com/vitest-dev/vitest/issues/2679) [(6c1a2)](https://togithub.com/vitest-dev/vitest/commit/6c1a26a6)
- Don't start watching files in "run" mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2680](https://togithub.com/vitest-dev/vitest/issues/2680) [(0a31e)](https://togithub.com/vitest-dev/vitest/commit/0a31e85c)
- Rerun tests, when setup file is edited - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2625](https://togithub.com/vitest-dev/vitest/issues/2625) [(019a6)](https://togithub.com/vitest-dev/vitest/commit/019a6d57)
- Always show filename for unhandled errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2689](https://togithub.com/vitest-dev/vitest/issues/2689) [(15aa0)](https://togithub.com/vitest-dev/vitest/commit/15aa0156)
- Define property instead of assigning it in vi.stubGlobal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2685](https://togithub.com/vitest-dev/vitest/issues/2685) [(8a1d7)](https://togithub.com/vitest-dev/vitest/commit/8a1d7590)
- **coverage**: Watch mode to use `coverage.all` only when all tests are run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2665](https://togithub.com/vitest-dev/vitest/issues/2665) [(85096)](https://togithub.com/vitest-dev/vitest/commit/85096281)
- **typecheck**: Log tests with verbose reporter, correctly show "pass" tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2656](https://togithub.com/vitest-dev/vitest/issues/2656) [(61dde)](https://togithub.com/vitest-dev/vitest/commit/61ddebae)
- **ui**: Don't show "connecting" screen in html reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2693](https://togithub.com/vitest-dev/vitest/issues/2693) [(d8548)](https://togithub.com/vitest-dev/vitest/commit/d8548c69)
##### 🏎 Performance
- Don't resolve import path, if it was already resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2659](https://togithub.com/vitest-dev/vitest/issues/2659) [(45cc3)](https://togithub.com/vitest-dev/vitest/commit/45cc3423)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2)
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:
0.27.1
->0.27.2
Release Notes
vitest-dev/vitest
### [`v0.27.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2) ##### 🚀 Features - Add runAllTimersAsync from sinonjs - by [@guillaumeduboc](https://togithub.com/guillaumeduboc) in [https://github.com/vitest-dev/vitest/issues/2209](https://togithub.com/vitest-dev/vitest/issues/2209) [(40187)](https://togithub.com/vitest-dev/vitest/commit/40187bdb) ##### 🐞 Bug Fixes - Document.defaultView references the same window as the global one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2649](https://togithub.com/vitest-dev/vitest/issues/2649) [(1ac4b)](https://togithub.com/vitest-dev/vitest/commit/1ac4bb8d) - Trim input filename and test name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2650](https://togithub.com/vitest-dev/vitest/issues/2650) [(d3dcb)](https://togithub.com/vitest-dev/vitest/commit/d3dcbdc8) - Increase default teardownTimeout - by [@sheremet-va](https://togithub.com/sheremet-va) [(13e53)](https://togithub.com/vitest-dev/vitest/commit/13e53ac7) - Mock css files imported with "require" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2679](https://togithub.com/vitest-dev/vitest/issues/2679) [(6c1a2)](https://togithub.com/vitest-dev/vitest/commit/6c1a26a6) - Don't start watching files in "run" mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2680](https://togithub.com/vitest-dev/vitest/issues/2680) [(0a31e)](https://togithub.com/vitest-dev/vitest/commit/0a31e85c) - Rerun tests, when setup file is edited - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2625](https://togithub.com/vitest-dev/vitest/issues/2625) [(019a6)](https://togithub.com/vitest-dev/vitest/commit/019a6d57) - Always show filename for unhandled errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2689](https://togithub.com/vitest-dev/vitest/issues/2689) [(15aa0)](https://togithub.com/vitest-dev/vitest/commit/15aa0156) - Define property instead of assigning it in vi.stubGlobal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2685](https://togithub.com/vitest-dev/vitest/issues/2685) [(8a1d7)](https://togithub.com/vitest-dev/vitest/commit/8a1d7590) - **coverage**: Watch mode to use `coverage.all` only when all tests are run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2665](https://togithub.com/vitest-dev/vitest/issues/2665) [(85096)](https://togithub.com/vitest-dev/vitest/commit/85096281) - **typecheck**: Log tests with verbose reporter, correctly show "pass" tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2656](https://togithub.com/vitest-dev/vitest/issues/2656) [(61dde)](https://togithub.com/vitest-dev/vitest/commit/61ddebae) - **ui**: Don't show "connecting" screen in html reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2693](https://togithub.com/vitest-dev/vitest/issues/2693) [(d8548)](https://togithub.com/vitest-dev/vitest/commit/d8548c69) ##### 🏎 Performance - Don't resolve import path, if it was already resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2659](https://togithub.com/vitest-dev/vitest/issues/2659) [(45cc3)](https://togithub.com/vitest-dev/vitest/commit/45cc3423) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2)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.