vitest-dev/vitest (@vitest/coverage-v8)
### [`v2.1.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.2)
[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)
##### 🐞 Bug Fixes
- Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6584](https://redirect.github.com/vitest-dev/vitest/issues/6584) [(e7f35)](https://redirect.github.com/vitest-dev/vitest/commit/e7f35214)
- **benchmark**:
- Clear `BenchmarkResult.samples` array to reduce memory usage - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6541](https://redirect.github.com/vitest-dev/vitest/issues/6541) [(a6407)](https://redirect.github.com/vitest-dev/vitest/commit/a6407afc)
- **browser**:
- Fix dynamic import inside worker - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6569](https://redirect.github.com/vitest-dev/vitest/issues/6569) [(ea2d4)](https://redirect.github.com/vitest-dev/vitest/commit/ea2d429b)
- Fix browser mock factory event race condition - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6530](https://redirect.github.com/vitest-dev/vitest/issues/6530) [(f131f)](https://redirect.github.com/vitest-dev/vitest/commit/f131f93b)
- Serve ui assets as static - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6564](https://redirect.github.com/vitest-dev/vitest/issues/6564) [(adcda)](https://redirect.github.com/vitest-dev/vitest/commit/adcdaee8)
- Update solidjs testing library lib - by [@CamilleTeruel](https://redirect.github.com/CamilleTeruel) in [https://github.com/vitest-dev/vitest/issues/6548](https://redirect.github.com/vitest-dev/vitest/issues/6548) [(91442)](https://redirect.github.com/vitest-dev/vitest/commit/91442dfc)
- Use `data:` protocol on preview provider file upload - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6501](https://redirect.github.com/vitest-dev/vitest/issues/6501) [(e9821)](https://redirect.github.com/vitest-dev/vitest/commit/e9821f70)
- Fix base for client script - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6510](https://redirect.github.com/vitest-dev/vitest/issues/6510) [(f9528)](https://redirect.github.com/vitest-dev/vitest/commit/f952874e)
- Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6570](https://redirect.github.com/vitest-dev/vitest/issues/6570) [(383f1)](https://redirect.github.com/vitest-dev/vitest/commit/383f1791)
- **coverage**:
- Remove empty coverage folder on test failure too - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6547](https://redirect.github.com/vitest-dev/vitest/issues/6547) [(1371c)](https://redirect.github.com/vitest-dev/vitest/commit/1371ca6a)
- Include `*.astro` by default - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6565](https://redirect.github.com/vitest-dev/vitest/issues/6565) [(f8ff7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ff76a9)
- `cleanOnRerun: false` to invalidate previous results - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6592](https://redirect.github.com/vitest-dev/vitest/issues/6592) [(88bde)](https://redirect.github.com/vitest-dev/vitest/commit/88bde99c)
- **expect**:
- Fix `toBeDefined` with `expect.poll` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6562](https://redirect.github.com/vitest-dev/vitest/issues/6562) [(f7da6)](https://redirect.github.com/vitest-dev/vitest/commit/f7da6199)
- **runner**:
- Mark tests as skipped when `beforeAll` failed - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6524](https://redirect.github.com/vitest-dev/vitest/issues/6524) [(fb797)](https://redirect.github.com/vitest-dev/vitest/commit/fb79792d)
- Support fixture parsing of lowered async syntax - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6531](https://redirect.github.com/vitest-dev/vitest/issues/6531) [(b553c)](https://redirect.github.com/vitest-dev/vitest/commit/b553c7d6)
- Fix fixture parsing of lowered async syntax for non arrow functions - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6575](https://redirect.github.com/vitest-dev/vitest/issues/6575) [(3de00)](https://redirect.github.com/vitest-dev/vitest/commit/3de00ab6)
- Guard test hook callback - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6604](https://redirect.github.com/vitest-dev/vitest/issues/6604) [(14971)](https://redirect.github.com/vitest-dev/vitest/commit/1497134e)
- Run `onTestFinished` and `onTestFailed` during `retry` and `repeats` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6609](https://redirect.github.com/vitest-dev/vitest/issues/6609) [(c5e29)](https://redirect.github.com/vitest-dev/vitest/commit/c5e29098)
- **ui**:
- List tests on ui when `--standalone` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6577](https://redirect.github.com/vitest-dev/vitest/issues/6577) [(d0bf8)](https://redirect.github.com/vitest-dev/vitest/commit/d0bf89d3)
- **vite-node**:
- Fix esm false-detection inside comment - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6506](https://redirect.github.com/vitest-dev/vitest/issues/6506) [(91f85)](https://redirect.github.com/vitest-dev/vitest/commit/91f85997)
- **vitest**:
- Install dependencies with the same version when prompted - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6611](https://redirect.github.com/vitest-dev/vitest/issues/6611) [(ed8b7)](https://redirect.github.com/vitest-dev/vitest/commit/ed8b7c08)
- Make env.SSR consistent between different pools - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6616](https://redirect.github.com/vitest-dev/vitest/issues/6616) [(8a8d3)](https://redirect.github.com/vitest-dev/vitest/commit/8a8d3f03)
- Don't start a websocket server if api is disabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6617](https://redirect.github.com/vitest-dev/vitest/issues/6617) [(82140)](https://redirect.github.com/vitest-dev/vitest/commit/821400b8)
- **workspace**:
- Fix glob pattern detection - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6502](https://redirect.github.com/vitest-dev/vitest/issues/6502) [(7727c)](https://redirect.github.com/vitest-dev/vitest/commit/7727ca87)
- Ignore DS_Store by default - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6571](https://redirect.github.com/vitest-dev/vitest/issues/6571) [(d2a86)](https://redirect.github.com/vitest-dev/vitest/commit/d2a86ff5)
##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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, check this box
This PR contains the following updates:
2.1.1
->2.1.2
2.1.1
->2.1.2
2.1.1
->2.1.2
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
### [`v2.1.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2) ##### 🐞 Bug Fixes - Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6584](https://redirect.github.com/vitest-dev/vitest/issues/6584) [(e7f35)](https://redirect.github.com/vitest-dev/vitest/commit/e7f35214) - **benchmark**: - Clear `BenchmarkResult.samples` array to reduce memory usage - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6541](https://redirect.github.com/vitest-dev/vitest/issues/6541) [(a6407)](https://redirect.github.com/vitest-dev/vitest/commit/a6407afc) - **browser**: - Fix dynamic import inside worker - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6569](https://redirect.github.com/vitest-dev/vitest/issues/6569) [(ea2d4)](https://redirect.github.com/vitest-dev/vitest/commit/ea2d429b) - Fix browser mock factory event race condition - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6530](https://redirect.github.com/vitest-dev/vitest/issues/6530) [(f131f)](https://redirect.github.com/vitest-dev/vitest/commit/f131f93b) - Serve ui assets as static - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6564](https://redirect.github.com/vitest-dev/vitest/issues/6564) [(adcda)](https://redirect.github.com/vitest-dev/vitest/commit/adcdaee8) - Update solidjs testing library lib - by [@CamilleTeruel](https://redirect.github.com/CamilleTeruel) in [https://github.com/vitest-dev/vitest/issues/6548](https://redirect.github.com/vitest-dev/vitest/issues/6548) [(91442)](https://redirect.github.com/vitest-dev/vitest/commit/91442dfc) - Use `data:` protocol on preview provider file upload - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6501](https://redirect.github.com/vitest-dev/vitest/issues/6501) [(e9821)](https://redirect.github.com/vitest-dev/vitest/commit/e9821f70) - Fix base for client script - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6510](https://redirect.github.com/vitest-dev/vitest/issues/6510) [(f9528)](https://redirect.github.com/vitest-dev/vitest/commit/f952874e) - Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6570](https://redirect.github.com/vitest-dev/vitest/issues/6570) [(383f1)](https://redirect.github.com/vitest-dev/vitest/commit/383f1791) - **coverage**: - Remove empty coverage folder on test failure too - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6547](https://redirect.github.com/vitest-dev/vitest/issues/6547) [(1371c)](https://redirect.github.com/vitest-dev/vitest/commit/1371ca6a) - Include `*.astro` by default - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6565](https://redirect.github.com/vitest-dev/vitest/issues/6565) [(f8ff7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ff76a9) - `cleanOnRerun: false` to invalidate previous results - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6592](https://redirect.github.com/vitest-dev/vitest/issues/6592) [(88bde)](https://redirect.github.com/vitest-dev/vitest/commit/88bde99c) - **expect**: - Fix `toBeDefined` with `expect.poll` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6562](https://redirect.github.com/vitest-dev/vitest/issues/6562) [(f7da6)](https://redirect.github.com/vitest-dev/vitest/commit/f7da6199) - **runner**: - Mark tests as skipped when `beforeAll` failed - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6524](https://redirect.github.com/vitest-dev/vitest/issues/6524) [(fb797)](https://redirect.github.com/vitest-dev/vitest/commit/fb79792d) - Support fixture parsing of lowered async syntax - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6531](https://redirect.github.com/vitest-dev/vitest/issues/6531) [(b553c)](https://redirect.github.com/vitest-dev/vitest/commit/b553c7d6) - Fix fixture parsing of lowered async syntax for non arrow functions - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6575](https://redirect.github.com/vitest-dev/vitest/issues/6575) [(3de00)](https://redirect.github.com/vitest-dev/vitest/commit/3de00ab6) - Guard test hook callback - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6604](https://redirect.github.com/vitest-dev/vitest/issues/6604) [(14971)](https://redirect.github.com/vitest-dev/vitest/commit/1497134e) - Run `onTestFinished` and `onTestFailed` during `retry` and `repeats` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6609](https://redirect.github.com/vitest-dev/vitest/issues/6609) [(c5e29)](https://redirect.github.com/vitest-dev/vitest/commit/c5e29098) - **ui**: - List tests on ui when `--standalone` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6577](https://redirect.github.com/vitest-dev/vitest/issues/6577) [(d0bf8)](https://redirect.github.com/vitest-dev/vitest/commit/d0bf89d3) - **vite-node**: - Fix esm false-detection inside comment - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6506](https://redirect.github.com/vitest-dev/vitest/issues/6506) [(91f85)](https://redirect.github.com/vitest-dev/vitest/commit/91f85997) - **vitest**: - Install dependencies with the same version when prompted - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6611](https://redirect.github.com/vitest-dev/vitest/issues/6611) [(ed8b7)](https://redirect.github.com/vitest-dev/vitest/commit/ed8b7c08) - Make env.SSR consistent between different pools - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6616](https://redirect.github.com/vitest-dev/vitest/issues/6616) [(8a8d3)](https://redirect.github.com/vitest-dev/vitest/commit/8a8d3f03) - Don't start a websocket server if api is disabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6617](https://redirect.github.com/vitest-dev/vitest/issues/6617) [(82140)](https://redirect.github.com/vitest-dev/vitest/commit/821400b8) - **workspace**: - Fix glob pattern detection - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6502](https://redirect.github.com/vitest-dev/vitest/issues/6502) [(7727c)](https://redirect.github.com/vitest-dev/vitest/commit/7727ca87) - Ignore DS_Store by default - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6571](https://redirect.github.com/vitest-dev/vitest/issues/6571) [(d2a86)](https://redirect.github.com/vitest-dev/vitest/commit/d2a86ff5) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.