-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(vitest): correctly parse --maxWorkers/--minWorkers #4924
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
renovate bot
added a commit
to Johannes-Andersen/Johannes
that referenced
this pull request
Jan 12, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Johannes-Andersen/Johannes). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to fwouts/previewjs
that referenced
this pull request
Jan 12, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.1.3` -> `^1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to SebastianGoeb/chinese-chart
that referenced
this pull request
Jan 13, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SebastianGoeb/chinese-chart). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/toolbelt
that referenced
this pull request
Jan 15, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.6` -> `20.11.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.6/20.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue)) | [`5.0.2` -> `5.0.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://github.com/capricorn86/happy-dom) | [`12.10.3` -> `13.0.4`](https://renovatebot.com/diffs/npm/happy-dom/12.10.3/13.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue](https://github.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://github.com/vuejs/core)) | [`3.4.5` -> `3.4.12`](https://renovatebot.com/diffs/npm/vue/3.4.5/3.4.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v5.0.3`](https://github.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small503-2024-01-10-small) - fix(deps): update all non-major dependencies ([#​309](https://github.com/vitejs/vite-plugin-vue/issues/309)) ([8c694f6](https://github.com/vitejs/vite-plugin-vue/commit/8c694f6)), closes [#​309](https://github.com/vitejs/vite-plugin-vue/issues/309) - fix(plugin-vue): handle circular references in HMR check ([#​334](https://github.com/vitejs/vite-plugin-vue/issues/334)) ([eddcfa8](https://github.com/vitejs/vite-plugin-vue/commit/eddcfa8)), closes [#​334](https://github.com/vitejs/vite-plugin-vue/issues/334) [#​325](https://github.com/vitejs/vite-plugin-vue/issues/325) - fix(plugin-vue): handle custom element when hot update ([6ffee6d](https://github.com/vitejs/vite-plugin-vue/commit/6ffee6d)) - chore: fix typo ([0a3b9a5](https://github.com/vitejs/vite-plugin-vue/commit/0a3b9a5)) - chore(deps): update upstream ([#​310](https://github.com/vitejs/vite-plugin-vue/issues/310)) ([90eb484](https://github.com/vitejs/vite-plugin-vue/commit/90eb484)), closes [#​310](https://github.com/vitejs/vite-plugin-vue/issues/310) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.0.4`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.3...v13.0.4) ##### 👷♂️ Patch fixes - Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). ([#​1192](https://github.com/capricorn86/happy-dom/issues/1192)) ### [`v13.0.3`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.2...v13.0.3) ##### 👷♂️ Patch fixes - Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. ([#​1201](https://github.com/capricorn86/happy-dom/issues/1201)) ### [`v13.0.2`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.1...v13.0.2) ##### 👷♂️ Patch fixes - Removes unused browser setting. ([#​1199](https://github.com/capricorn86/happy-dom/issues/1199)) ### [`v13.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.0...v13.0.1) ##### 🎨 Features - Adds support for `BrowserFrame.viewport`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeTo()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeBy()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Fixes issues related to viewport not being kept when navigating to new a URL. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ### [`v13.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v12.10.3...v13.0.0) ##### 💣 Breaking Changes - This is a big release where a lot of the code has been refactored to improve security and to be able to support the new Browser API. A big release is always a potential risk for bugs and therefore it make sense to make this a major release to avoid that consumers automatically updates to it. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 🎨 Features - Adds support for a Browser API similar to [Puppeteer](https://pptr.dev/) and [Playwright](https://playwright.dev/). With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the [Happy DOM Wiki](https://github.com/capricorn86/happy-dom/wiki). ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves security by not exposing sensitive internal logic to scripts running within the Happy DOM Browser. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for CORS management. It now supports "OPTIONS" requests to detect if the client is allowed to proceed with a cross origin request. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for HTTP response cache. The cache is in memory, but the plan is to add support for storing it on disk in the future. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `XMLHttpRequest`. It now supports the GZip, Deflate and Brotli encodings. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for adding a process level error event listener for capturing errors. This is useful when using the Browser API, but will not work in environments such as [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/), as it collides with their error listener. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.open()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.close()`. This function should now be used when tearing down the environment. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for cookies. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `HTMLIFrameElement`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Changes export of types to use "import type" and "export type" in "index.js". This will allow transpilers/compilers to optimize better. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when clicking on an anchor link. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when setting `Location.href`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `MutationObserver`. It will not collect multiple records with a microtask. It now also supports `MutationObserver.takeRecords()` for records that has not yet been published. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Deprecates "[@​happy-dom/uncaught-exception-observer](https://github.com/happy-dom/uncaught-exception-observer)" as the functionality is supported by "happy-dom" out of the box now. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Uses Symbol for public internal properties instead of using "\_" as a prefix, so that internal properties won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Improves the check for if the property is a class to avoid that it gets bound in "[@​happy-dom/global-registrator](https://github.com/happy-dom/global-registrator)". We only want functions to get bound to the global context. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where `new Document()` did'nt work according to spec. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where several Element classes wheren't available as properties on `Window`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug in `Document.importNode()` where it didn't change `ownerDocument` on child nodes. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Resets static `ownerDocument` state used when creating Node instances, so that it can be garbage collected if not used anymore. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) *** Merry Christmas and a Happy New Year! 🎅 ✨ This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address. I hope you will enjoy the release! </details> <details> <summary>vuejs/core (vue)</summary> ### [`v3.4.12`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3412-2024-01-13) [Compare Source](https://github.com/vuejs/core/compare/v3.4.11...v3.4.12) ##### Reverts - fix(reactivity): correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8b18481](https://github.com/vuejs/core/commit/8b1848173b0bc8fd84ce1da1af8d373c044bf073)), closes [#​10098](https://github.com/vuejs/core/issues/10098) [#​10100](https://github.com/vuejs/core/issues/10100) ### [`v3.4.11`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3411-2024-01-12) [Compare Source](https://github.com/vuejs/core/compare/v3.4.10...v3.4.11) ##### Bug Fixes - **hydration:** improve mismatch when client valut is null or undefined ([#​10086](https://github.com/vuejs/core/issues/10086)) ([08b60f5](https://github.com/vuejs/core/commit/08b60f5d0d5b57fcf3347ef66cbeab472c475a88)) - **reactivity:** correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8d04205](https://github.com/vuejs/core/commit/8d042050411fdf04d9d1d6c153287164b12e0255)), closes [#​10082](https://github.com/vuejs/core/issues/10082) - **runtime-core:** filter single root for nested DEV_ROOT_FRAGMENT ([#​8593](https://github.com/vuejs/core/issues/8593)) ([d35b877](https://github.com/vuejs/core/commit/d35b87725ab3e2bdc86fb5781ab34939f7ec1029)), closes [#​5203](https://github.com/vuejs/core/issues/5203) [#​8581](https://github.com/vuejs/core/issues/8581) [#​10087](https://github.com/vuejs/core/issues/10087) ### [`v3.4.10`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3410-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.9...v3.4.10) ##### Bug Fixes - **hydration:** should not warn on falsy bindings of non-property keys ([3907c87](https://github.com/vuejs/core/commit/3907c87ce23cc6ef4a739b5a66ddb553e8723114)) ### [`v3.4.9`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#349-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.8...v3.4.9) ##### Bug Fixes - **build:** avoid accessing **FEATURE_PROD_DEVTOOLS** flag in root scope ([dfd9654](https://github.com/vuejs/core/commit/dfd9654665890d1bc7129f6e3c2faaa5b1f28f72)) - **hydration:** do not warn against bindings w/ object values ([dcc68ef](https://github.com/vuejs/core/commit/dcc68ef7d48973abd8dd3178b46e50e3b0785ea4)) - **runtime-dom:** unify behavior for v-show + style display binding ([#​10075](https://github.com/vuejs/core/issues/10075)) ([cd419ae](https://github.com/vuejs/core/commit/cd419aec3cb615eaea8b2324356f38f4c0ff1fcc)), closes [#​10074](https://github.com/vuejs/core/issues/10074) - **suspense:** avoid double-patching nested suspense when parent suspense is not resolved ([#​10055](https://github.com/vuejs/core/issues/10055)) ([bcda96b](https://github.com/vuejs/core/commit/bcda96b525801eb7a1d397300fb3f2f9b827ddfb)), closes [#​8678](https://github.com/vuejs/core/issues/8678) ### [`v3.4.8`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#348-2024-01-10) [Compare Source](https://github.com/vuejs/core/compare/v3.4.7...v3.4.8) ##### Bug Fixes - **hydration:** fix class and style hydration mismatch message ([5af3987](https://github.com/vuejs/core/commit/5af398729168481c3bee741b4f36fa4f375e0f4a)), closes [#​10067](https://github.com/vuejs/core/issues/10067) - **hydration:** improve attr hydration mismatch check for boolean attrs ([972face](https://github.com/vuejs/core/commit/972facee0d892a1b6d9d4ad1da5da9306ed45c3f)), closes [#​10057](https://github.com/vuejs/core/issues/10057) [#​10060](https://github.com/vuejs/core/issues/10060) - **suspense:** fix more suspense patch before resolve edge cases ([70ad4ca](https://github.com/vuejs/core/commit/70ad4caad7d19938f8ccf1ede3228a81254dd4bf)), closes [#​10017](https://github.com/vuejs/core/issues/10017) ### [`v3.4.7`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#347-2024-01-09) [Compare Source](https://github.com/vuejs/core/compare/v3.4.6...v3.4.7) ##### Bug Fixes - **parser:** skip compat mode check for SFC root `<template>` tags ([#​10034](https://github.com/vuejs/core/issues/10034)) ([923d560](https://github.com/vuejs/core/commit/923d560d0b6713144671809b6dfeb1e2da503b1f)) - **types:** fix functional component for `h` ([#​9991](https://github.com/vuejs/core/issues/9991)) ([438a74a](https://github.com/vuejs/core/commit/438a74aad840183286fbdb488178510f37218a73)) ##### Reverts - "dx(computed): warn incorrect use of getCurrentInstance inside computed" ([2fd3905](https://github.com/vuejs/core/commit/2fd39057386644c8bfee426c60a51f2b07a79b09)) ### [`v3.4.6`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#346-2024-01-08) [Compare Source](https://github.com/vuejs/core/compare/v3.4.5...v3.4.6) ##### Bug Fixes - **build:** revert "build: add production/development export conditions ([#​9977](https://github.com/vuejs/core/issues/9977))" ([7bd4e90](https://github.com/vuejs/core/commit/7bd4e90506547c42234165776b01793abd37b148)), closes [#​10012](https://github.com/vuejs/core/issues/10012) [#​10020](https://github.com/vuejs/core/issues/10020) - fix post watcher fire timing on nested app mounts ([3c3561e](https://github.com/vuejs/core/commit/3c3561e7203091f49d57f1da6d822c91e462bc46)), closes [#​10005](https://github.com/vuejs/core/issues/10005) - **hydration:** avoid hydration mismatch warning for styles with different order ([#​10011](https://github.com/vuejs/core/issues/10011)) ([2701355](https://github.com/vuejs/core/commit/2701355e8eb07ab664e398d9fc05d6c4e2e9b20e)), closes [#​10000](https://github.com/vuejs/core/issues/10000) [#​10006](https://github.com/vuejs/core/issues/10006) - **runtime-core:** handle fragment with null children ([#​10010](https://github.com/vuejs/core/issues/10010)) ([3bf34b7](https://github.com/vuejs/core/commit/3bf34b767e4dd3cf6a974301ecf0363ae4dda4ec)), closes [#​10007](https://github.com/vuejs/core/issues/10007) - **scheduler:** sort nested postFlushCbs ([d9162df](https://github.com/vuejs/core/commit/d9162dfc2ee0c3a369fb9bf32ff413e74761bee6)), closes [#​10003](https://github.com/vuejs/core/issues/10003) - **suspense:** fix anchor for suspense with transition out-in ([#​9999](https://github.com/vuejs/core/issues/9999)) ([a3fbf21](https://github.com/vuejs/core/commit/a3fbf2132b0cd3655e969e290548c8fabc08fd33)), closes [#​9996](https://github.com/vuejs/core/issues/9996) - **types:** allow `null` type for textarea value ([#​9997](https://github.com/vuejs/core/issues/9997)) ([c379bc2](https://github.com/vuejs/core/commit/c379bc29efc70d6ac5840de10c357ee3dad998c0)), closes [#​9904](https://github.com/vuejs/core/issues/9904) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/logger
that referenced
this pull request
Jan 15, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.6` -> `20.11.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.6/20.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue)) | [`5.0.2` -> `5.0.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://github.com/capricorn86/happy-dom) | [`12.10.3` -> `13.0.4`](https://renovatebot.com/diffs/npm/happy-dom/12.10.3/13.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue](https://github.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://github.com/vuejs/core)) | [`3.4.5` -> `3.4.12`](https://renovatebot.com/diffs/npm/vue/3.4.5/3.4.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v5.0.3`](https://github.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small503-2024-01-10-small) - fix(deps): update all non-major dependencies ([#​309](https://github.com/vitejs/vite-plugin-vue/issues/309)) ([8c694f6](https://github.com/vitejs/vite-plugin-vue/commit/8c694f6)), closes [#​309](https://github.com/vitejs/vite-plugin-vue/issues/309) - fix(plugin-vue): handle circular references in HMR check ([#​334](https://github.com/vitejs/vite-plugin-vue/issues/334)) ([eddcfa8](https://github.com/vitejs/vite-plugin-vue/commit/eddcfa8)), closes [#​334](https://github.com/vitejs/vite-plugin-vue/issues/334) [#​325](https://github.com/vitejs/vite-plugin-vue/issues/325) - fix(plugin-vue): handle custom element when hot update ([6ffee6d](https://github.com/vitejs/vite-plugin-vue/commit/6ffee6d)) - chore: fix typo ([0a3b9a5](https://github.com/vitejs/vite-plugin-vue/commit/0a3b9a5)) - chore(deps): update upstream ([#​310](https://github.com/vitejs/vite-plugin-vue/issues/310)) ([90eb484](https://github.com/vitejs/vite-plugin-vue/commit/90eb484)), closes [#​310](https://github.com/vitejs/vite-plugin-vue/issues/310) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.0.4`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.3...v13.0.4) ##### 👷♂️ Patch fixes - Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). ([#​1192](https://github.com/capricorn86/happy-dom/issues/1192)) ### [`v13.0.3`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.2...v13.0.3) ##### 👷♂️ Patch fixes - Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. ([#​1201](https://github.com/capricorn86/happy-dom/issues/1201)) ### [`v13.0.2`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.1...v13.0.2) ##### 👷♂️ Patch fixes - Removes unused browser setting. ([#​1199](https://github.com/capricorn86/happy-dom/issues/1199)) ### [`v13.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.0...v13.0.1) ##### 🎨 Features - Adds support for `BrowserFrame.viewport`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeTo()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeBy()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Fixes issues related to viewport not being kept when navigating to new a URL. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ### [`v13.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v12.10.3...v13.0.0) ##### 💣 Breaking Changes - This is a big release where a lot of the code has been refactored to improve security and to be able to support the new Browser API. A big release is always a potential risk for bugs and therefore it make sense to make this a major release to avoid that consumers automatically updates to it. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 🎨 Features - Adds support for a Browser API similar to [Puppeteer](https://pptr.dev/) and [Playwright](https://playwright.dev/). With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the [Happy DOM Wiki](https://github.com/capricorn86/happy-dom/wiki). ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves security by not exposing sensitive internal logic to scripts running within the Happy DOM Browser. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for CORS management. It now supports "OPTIONS" requests to detect if the client is allowed to proceed with a cross origin request. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for HTTP response cache. The cache is in memory, but the plan is to add support for storing it on disk in the future. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `XMLHttpRequest`. It now supports the GZip, Deflate and Brotli encodings. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for adding a process level error event listener for capturing errors. This is useful when using the Browser API, but will not work in environments such as [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/), as it collides with their error listener. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.open()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.close()`. This function should now be used when tearing down the environment. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for cookies. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `HTMLIFrameElement`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Changes export of types to use "import type" and "export type" in "index.js". This will allow transpilers/compilers to optimize better. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when clicking on an anchor link. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when setting `Location.href`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `MutationObserver`. It will not collect multiple records with a microtask. It now also supports `MutationObserver.takeRecords()` for records that has not yet been published. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Deprecates "[@​happy-dom/uncaught-exception-observer](https://github.com/happy-dom/uncaught-exception-observer)" as the functionality is supported by "happy-dom" out of the box now. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Uses Symbol for public internal properties instead of using "\_" as a prefix, so that internal properties won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Improves the check for if the property is a class to avoid that it gets bound in "[@​happy-dom/global-registrator](https://github.com/happy-dom/global-registrator)". We only want functions to get bound to the global context. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where `new Document()` did'nt work according to spec. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where several Element classes wheren't available as properties on `Window`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug in `Document.importNode()` where it didn't change `ownerDocument` on child nodes. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Resets static `ownerDocument` state used when creating Node instances, so that it can be garbage collected if not used anymore. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) *** Merry Christmas and a Happy New Year! 🎅 ✨ This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address. I hope you will enjoy the release! </details> <details> <summary>vuejs/core (vue)</summary> ### [`v3.4.12`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3412-2024-01-13) [Compare Source](https://github.com/vuejs/core/compare/v3.4.11...v3.4.12) ##### Reverts - fix(reactivity): correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8b18481](https://github.com/vuejs/core/commit/8b1848173b0bc8fd84ce1da1af8d373c044bf073)), closes [#​10098](https://github.com/vuejs/core/issues/10098) [#​10100](https://github.com/vuejs/core/issues/10100) ### [`v3.4.11`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3411-2024-01-12) [Compare Source](https://github.com/vuejs/core/compare/v3.4.10...v3.4.11) ##### Bug Fixes - **hydration:** improve mismatch when client valut is null or undefined ([#​10086](https://github.com/vuejs/core/issues/10086)) ([08b60f5](https://github.com/vuejs/core/commit/08b60f5d0d5b57fcf3347ef66cbeab472c475a88)) - **reactivity:** correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8d04205](https://github.com/vuejs/core/commit/8d042050411fdf04d9d1d6c153287164b12e0255)), closes [#​10082](https://github.com/vuejs/core/issues/10082) - **runtime-core:** filter single root for nested DEV_ROOT_FRAGMENT ([#​8593](https://github.com/vuejs/core/issues/8593)) ([d35b877](https://github.com/vuejs/core/commit/d35b87725ab3e2bdc86fb5781ab34939f7ec1029)), closes [#​5203](https://github.com/vuejs/core/issues/5203) [#​8581](https://github.com/vuejs/core/issues/8581) [#​10087](https://github.com/vuejs/core/issues/10087) ### [`v3.4.10`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3410-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.9...v3.4.10) ##### Bug Fixes - **hydration:** should not warn on falsy bindings of non-property keys ([3907c87](https://github.com/vuejs/core/commit/3907c87ce23cc6ef4a739b5a66ddb553e8723114)) ### [`v3.4.9`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#349-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.8...v3.4.9) ##### Bug Fixes - **build:** avoid accessing **FEATURE_PROD_DEVTOOLS** flag in root scope ([dfd9654](https://github.com/vuejs/core/commit/dfd9654665890d1bc7129f6e3c2faaa5b1f28f72)) - **hydration:** do not warn against bindings w/ object values ([dcc68ef](https://github.com/vuejs/core/commit/dcc68ef7d48973abd8dd3178b46e50e3b0785ea4)) - **runtime-dom:** unify behavior for v-show + style display binding ([#​10075](https://github.com/vuejs/core/issues/10075)) ([cd419ae](https://github.com/vuejs/core/commit/cd419aec3cb615eaea8b2324356f38f4c0ff1fcc)), closes [#​10074](https://github.com/vuejs/core/issues/10074) - **suspense:** avoid double-patching nested suspense when parent suspense is not resolved ([#​10055](https://github.com/vuejs/core/issues/10055)) ([bcda96b](https://github.com/vuejs/core/commit/bcda96b525801eb7a1d397300fb3f2f9b827ddfb)), closes [#​8678](https://github.com/vuejs/core/issues/8678) ### [`v3.4.8`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#348-2024-01-10) [Compare Source](https://github.com/vuejs/core/compare/v3.4.7...v3.4.8) ##### Bug Fixes - **hydration:** fix class and style hydration mismatch message ([5af3987](https://github.com/vuejs/core/commit/5af398729168481c3bee741b4f36fa4f375e0f4a)), closes [#​10067](https://github.com/vuejs/core/issues/10067) - **hydration:** improve attr hydration mismatch check for boolean attrs ([972face](https://github.com/vuejs/core/commit/972facee0d892a1b6d9d4ad1da5da9306ed45c3f)), closes [#​10057](https://github.com/vuejs/core/issues/10057) [#​10060](https://github.com/vuejs/core/issues/10060) - **suspense:** fix more suspense patch before resolve edge cases ([70ad4ca](https://github.com/vuejs/core/commit/70ad4caad7d19938f8ccf1ede3228a81254dd4bf)), closes [#​10017](https://github.com/vuejs/core/issues/10017) ### [`v3.4.7`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#347-2024-01-09) [Compare Source](https://github.com/vuejs/core/compare/v3.4.6...v3.4.7) ##### Bug Fixes - **parser:** skip compat mode check for SFC root `<template>` tags ([#​10034](https://github.com/vuejs/core/issues/10034)) ([923d560](https://github.com/vuejs/core/commit/923d560d0b6713144671809b6dfeb1e2da503b1f)) - **types:** fix functional component for `h` ([#​9991](https://github.com/vuejs/core/issues/9991)) ([438a74a](https://github.com/vuejs/core/commit/438a74aad840183286fbdb488178510f37218a73)) ##### Reverts - "dx(computed): warn incorrect use of getCurrentInstance inside computed" ([2fd3905](https://github.com/vuejs/core/commit/2fd39057386644c8bfee426c60a51f2b07a79b09)) ### [`v3.4.6`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#346-2024-01-08) [Compare Source](https://github.com/vuejs/core/compare/v3.4.5...v3.4.6) ##### Bug Fixes - **build:** revert "build: add production/development export conditions ([#​9977](https://github.com/vuejs/core/issues/9977))" ([7bd4e90](https://github.com/vuejs/core/commit/7bd4e90506547c42234165776b01793abd37b148)), closes [#​10012](https://github.com/vuejs/core/issues/10012) [#​10020](https://github.com/vuejs/core/issues/10020) - fix post watcher fire timing on nested app mounts ([3c3561e](https://github.com/vuejs/core/commit/3c3561e7203091f49d57f1da6d822c91e462bc46)), closes [#​10005](https://github.com/vuejs/core/issues/10005) - **hydration:** avoid hydration mismatch warning for styles with different order ([#​10011](https://github.com/vuejs/core/issues/10011)) ([2701355](https://github.com/vuejs/core/commit/2701355e8eb07ab664e398d9fc05d6c4e2e9b20e)), closes [#​10000](https://github.com/vuejs/core/issues/10000) [#​10006](https://github.com/vuejs/core/issues/10006) - **runtime-core:** handle fragment with null children ([#​10010](https://github.com/vuejs/core/issues/10010)) ([3bf34b7](https://github.com/vuejs/core/commit/3bf34b767e4dd3cf6a974301ecf0363ae4dda4ec)), closes [#​10007](https://github.com/vuejs/core/issues/10007) - **scheduler:** sort nested postFlushCbs ([d9162df](https://github.com/vuejs/core/commit/d9162dfc2ee0c3a369fb9bf32ff413e74761bee6)), closes [#​10003](https://github.com/vuejs/core/issues/10003) - **suspense:** fix anchor for suspense with transition out-in ([#​9999](https://github.com/vuejs/core/issues/9999)) ([a3fbf21](https://github.com/vuejs/core/commit/a3fbf2132b0cd3655e969e290548c8fabc08fd33)), closes [#​9996](https://github.com/vuejs/core/issues/9996) - **types:** allow `null` type for textarea value ([#​9997](https://github.com/vuejs/core/issues/9997)) ([c379bc2](https://github.com/vuejs/core/commit/c379bc29efc70d6ac5840de10c357ee3dad998c0)), closes [#​9904](https://github.com/vuejs/core/issues/9904) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to slipmatio/ui
that referenced
this pull request
Jan 15, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.10.6` -> `20.11.0`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.6/20.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.6/20.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue)) | [`5.0.2` -> `5.0.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/5.0.2/5.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://github.com/capricorn86/happy-dom) | [`12.10.3` -> `13.0.4`](https://renovatebot.com/diffs/npm/happy-dom/12.10.3/13.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/12.10.3/13.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue](https://github.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://github.com/vuejs/core)) | [`3.4.5` -> `3.4.12`](https://renovatebot.com/diffs/npm/vue/3.4.5/3.4.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.4.5/3.4.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v5.0.3`](https://github.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small503-2024-01-10-small) - fix(deps): update all non-major dependencies ([#​309](https://github.com/vitejs/vite-plugin-vue/issues/309)) ([8c694f6](https://github.com/vitejs/vite-plugin-vue/commit/8c694f6)), closes [#​309](https://github.com/vitejs/vite-plugin-vue/issues/309) - fix(plugin-vue): handle circular references in HMR check ([#​334](https://github.com/vitejs/vite-plugin-vue/issues/334)) ([eddcfa8](https://github.com/vitejs/vite-plugin-vue/commit/eddcfa8)), closes [#​334](https://github.com/vitejs/vite-plugin-vue/issues/334) [#​325](https://github.com/vitejs/vite-plugin-vue/issues/325) - fix(plugin-vue): handle custom element when hot update ([6ffee6d](https://github.com/vitejs/vite-plugin-vue/commit/6ffee6d)) - chore: fix typo ([0a3b9a5](https://github.com/vitejs/vite-plugin-vue/commit/0a3b9a5)) - chore(deps): update upstream ([#​310](https://github.com/vitejs/vite-plugin-vue/issues/310)) ([90eb484](https://github.com/vitejs/vite-plugin-vue/commit/90eb484)), closes [#​310](https://github.com/vitejs/vite-plugin-vue/issues/310) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.0.4`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.3...v13.0.4) ##### 👷♂️ Patch fixes - Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). ([#​1192](https://github.com/capricorn86/happy-dom/issues/1192)) ### [`v13.0.3`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.2...v13.0.3) ##### 👷♂️ Patch fixes - Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. ([#​1201](https://github.com/capricorn86/happy-dom/issues/1201)) ### [`v13.0.2`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.1...v13.0.2) ##### 👷♂️ Patch fixes - Removes unused browser setting. ([#​1199](https://github.com/capricorn86/happy-dom/issues/1199)) ### [`v13.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.0.0...v13.0.1) ##### 🎨 Features - Adds support for `BrowserFrame.viewport`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeTo()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeBy()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Fixes issues related to viewport not being kept when navigating to new a URL. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ### [`v13.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v13.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v12.10.3...v13.0.0) ##### 💣 Breaking Changes - This is a big release where a lot of the code has been refactored to improve security and to be able to support the new Browser API. A big release is always a potential risk for bugs and therefore it make sense to make this a major release to avoid that consumers automatically updates to it. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 🎨 Features - Adds support for a Browser API similar to [Puppeteer](https://pptr.dev/) and [Playwright](https://playwright.dev/). With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the [Happy DOM Wiki](https://github.com/capricorn86/happy-dom/wiki). ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves security by not exposing sensitive internal logic to scripts running within the Happy DOM Browser. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for CORS management. It now supports "OPTIONS" requests to detect if the client is allowed to proceed with a cross origin request. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for HTTP response cache. The cache is in memory, but the plan is to add support for storing it on disk in the future. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `XMLHttpRequest`. It now supports the GZip, Deflate and Brotli encodings. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for adding a process level error event listener for capturing errors. This is useful when using the Browser API, but will not work in environments such as [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/), as it collides with their error listener. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.open()`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.close()`. This function should now be used when tearing down the environment. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for cookies. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `HTMLIFrameElement`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Changes export of types to use "import type" and "export type" in "index.js". This will allow transpilers/compilers to optimize better. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when clicking on an anchor link. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when setting `Location.href`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Improves support for `MutationObserver`. It will not collect multiple records with a microtask. It now also supports `MutationObserver.takeRecords()` for records that has not yet been published. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Deprecates "[@​happy-dom/uncaught-exception-observer](https://github.com/happy-dom/uncaught-exception-observer)" as the functionality is supported by "happy-dom" out of the box now. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Uses Symbol for public internal properties instead of using "\_" as a prefix, so that internal properties won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) ##### 👷♂️ Patch fixes - Improves the check for if the property is a class to avoid that it gets bound in "[@​happy-dom/global-registrator](https://github.com/happy-dom/global-registrator)". We only want functions to get bound to the global context. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where `new Document()` did'nt work according to spec. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug where several Element classes wheren't available as properties on `Window`. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Fixes bug in `Document.importNode()` where it didn't change `ownerDocument` on child nodes. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) - Resets static `ownerDocument` state used when creating Node instances, so that it can be garbage collected if not used anymore. ([#​466](https://github.com/capricorn86/happy-dom/issues/466)) *** Merry Christmas and a Happy New Year! 🎅 ✨ This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address. I hope you will enjoy the release! </details> <details> <summary>vuejs/core (vue)</summary> ### [`v3.4.12`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3412-2024-01-13) [Compare Source](https://github.com/vuejs/core/compare/v3.4.11...v3.4.12) ##### Reverts - fix(reactivity): correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8b18481](https://github.com/vuejs/core/commit/8b1848173b0bc8fd84ce1da1af8d373c044bf073)), closes [#​10098](https://github.com/vuejs/core/issues/10098) [#​10100](https://github.com/vuejs/core/issues/10100) ### [`v3.4.11`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3411-2024-01-12) [Compare Source](https://github.com/vuejs/core/compare/v3.4.10...v3.4.11) ##### Bug Fixes - **hydration:** improve mismatch when client valut is null or undefined ([#​10086](https://github.com/vuejs/core/issues/10086)) ([08b60f5](https://github.com/vuejs/core/commit/08b60f5d0d5b57fcf3347ef66cbeab472c475a88)) - **reactivity:** correct dirty assign in render function ([#​10091](https://github.com/vuejs/core/issues/10091)) ([8d04205](https://github.com/vuejs/core/commit/8d042050411fdf04d9d1d6c153287164b12e0255)), closes [#​10082](https://github.com/vuejs/core/issues/10082) - **runtime-core:** filter single root for nested DEV_ROOT_FRAGMENT ([#​8593](https://github.com/vuejs/core/issues/8593)) ([d35b877](https://github.com/vuejs/core/commit/d35b87725ab3e2bdc86fb5781ab34939f7ec1029)), closes [#​5203](https://github.com/vuejs/core/issues/5203) [#​8581](https://github.com/vuejs/core/issues/8581) [#​10087](https://github.com/vuejs/core/issues/10087) ### [`v3.4.10`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3410-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.9...v3.4.10) ##### Bug Fixes - **hydration:** should not warn on falsy bindings of non-property keys ([3907c87](https://github.com/vuejs/core/commit/3907c87ce23cc6ef4a739b5a66ddb553e8723114)) ### [`v3.4.9`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#349-2024-01-11) [Compare Source](https://github.com/vuejs/core/compare/v3.4.8...v3.4.9) ##### Bug Fixes - **build:** avoid accessing **FEATURE_PROD_DEVTOOLS** flag in root scope ([dfd9654](https://github.com/vuejs/core/commit/dfd9654665890d1bc7129f6e3c2faaa5b1f28f72)) - **hydration:** do not warn against bindings w/ object values ([dcc68ef](https://github.com/vuejs/core/commit/dcc68ef7d48973abd8dd3178b46e50e3b0785ea4)) - **runtime-dom:** unify behavior for v-show + style display binding ([#​10075](https://github.com/vuejs/core/issues/10075)) ([cd419ae](https://github.com/vuejs/core/commit/cd419aec3cb615eaea8b2324356f38f4c0ff1fcc)), closes [#​10074](https://github.com/vuejs/core/issues/10074) - **suspense:** avoid double-patching nested suspense when parent suspense is not resolved ([#​10055](https://github.com/vuejs/core/issues/10055)) ([bcda96b](https://github.com/vuejs/core/commit/bcda96b525801eb7a1d397300fb3f2f9b827ddfb)), closes [#​8678](https://github.com/vuejs/core/issues/8678) ### [`v3.4.8`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#348-2024-01-10) [Compare Source](https://github.com/vuejs/core/compare/v3.4.7...v3.4.8) ##### Bug Fixes - **hydration:** fix class and style hydration mismatch message ([5af3987](https://github.com/vuejs/core/commit/5af398729168481c3bee741b4f36fa4f375e0f4a)), closes [#​10067](https://github.com/vuejs/core/issues/10067) - **hydration:** improve attr hydration mismatch check for boolean attrs ([972face](https://github.com/vuejs/core/commit/972facee0d892a1b6d9d4ad1da5da9306ed45c3f)), closes [#​10057](https://github.com/vuejs/core/issues/10057) [#​10060](https://github.com/vuejs/core/issues/10060) - **suspense:** fix more suspense patch before resolve edge cases ([70ad4ca](https://github.com/vuejs/core/commit/70ad4caad7d19938f8ccf1ede3228a81254dd4bf)), closes [#​10017](https://github.com/vuejs/core/issues/10017) ### [`v3.4.7`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#347-2024-01-09) [Compare Source](https://github.com/vuejs/core/compare/v3.4.6...v3.4.7) ##### Bug Fixes - **parser:** skip compat mode check for SFC root `<template>` tags ([#​10034](https://github.com/vuejs/core/issues/10034)) ([923d560](https://github.com/vuejs/core/commit/923d560d0b6713144671809b6dfeb1e2da503b1f)) - **types:** fix functional component for `h` ([#​9991](https://github.com/vuejs/core/issues/9991)) ([438a74a](https://github.com/vuejs/core/commit/438a74aad840183286fbdb488178510f37218a73)) ##### Reverts - "dx(computed): warn incorrect use of getCurrentInstance inside computed" ([2fd3905](https://github.com/vuejs/core/commit/2fd39057386644c8bfee426c60a51f2b07a79b09)) ### [`v3.4.6`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#346-2024-01-08) [Compare Source](https://github.com/vuejs/core/compare/v3.4.5...v3.4.6) ##### Bug Fixes - **build:** revert "build: add production/development export conditions ([#​9977](https://github.com/vuejs/core/issues/9977))" ([7bd4e90](https://github.com/vuejs/core/commit/7bd4e90506547c42234165776b01793abd37b148)), closes [#​10012](https://github.com/vuejs/core/issues/10012) [#​10020](https://github.com/vuejs/core/issues/10020) - fix post watcher fire timing on nested app mounts ([3c3561e](https://github.com/vuejs/core/commit/3c3561e7203091f49d57f1da6d822c91e462bc46)), closes [#​10005](https://github.com/vuejs/core/issues/10005) - **hydration:** avoid hydration mismatch warning for styles with different order ([#​10011](https://github.com/vuejs/core/issues/10011)) ([2701355](https://github.com/vuejs/core/commit/2701355e8eb07ab664e398d9fc05d6c4e2e9b20e)), closes [#​10000](https://github.com/vuejs/core/issues/10000) [#​10006](https://github.com/vuejs/core/issues/10006) - **runtime-core:** handle fragment with null children ([#​10010](https://github.com/vuejs/core/issues/10010)) ([3bf34b7](https://github.com/vuejs/core/commit/3bf34b767e4dd3cf6a974301ecf0363ae4dda4ec)), closes [#​10007](https://github.com/vuejs/core/issues/10007) - **scheduler:** sort nested postFlushCbs ([d9162df](https://github.com/vuejs/core/commit/d9162dfc2ee0c3a369fb9bf32ff413e74761bee6)), closes [#​10003](https://github.com/vuejs/core/issues/10003) - **suspense:** fix anchor for suspense with transition out-in ([#​9999](https://github.com/vuejs/core/issues/9999)) ([a3fbf21](https://github.com/vuejs/core/commit/a3fbf2132b0cd3655e969e290548c8fabc08fd33)), closes [#​9996](https://github.com/vuejs/core/issues/9996) - **types:** allow `null` type for textarea value ([#​9997](https://github.com/vuejs/core/issues/9997)) ([c379bc2](https://github.com/vuejs/core/commit/c379bc29efc70d6ac5840de10c357ee3dad998c0)), closes [#​9904](https://github.com/vuejs/core/issues/9904) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/console-fail-test
that referenced
this pull request
Jan 15, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/console-fail-test). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to simonknittel/sinister-incorporated
that referenced
this pull request
Jan 20, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/simonknittel/sinister-incorporated). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->
renovate bot
added a commit
to ariakit/ariakit
that referenced
this pull request
Jan 20, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.1`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
pushed a commit
to mheob/used-pm
that referenced
this pull request
Jan 23, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^18.4.3` -> `^18.4.4`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/18.4.3/18.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`^18.4.3` -> `^18.4.4`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fconfig-conventional/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fconfig-conventional/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.10.5` -> `^20.11.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.5/20.11.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.5/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.5/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`^3.1.1` -> `^3.2.4`](https://renovatebot.com/diffs/npm/prettier/3.1.1/3.2.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.1.1/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.1.1/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.1.0` -> `^1.2.1`](https://renovatebot.com/diffs/npm/vitest/1.1.0/1.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.0/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.0/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v18.4.4`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1844-2024-01-04) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) </details> <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v18.4.4`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1844-2024-01-04) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) **Note:** Version bump only for package [@​commitlint/config-conventional](https://github.com/commitlint/config-conventional) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.2.4`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://github.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://github.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#​15947](https://github.com/prettier/prettier/pull/15947) by [@​fisker](https://github.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://github.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://github.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#​15881](https://github.com/prettier/prettier/pull/15881) by [@​fisker](https://github.com/fisker), [@​Josh-Cena](https://github.com/Josh-Cena), [@​auvred](https://github.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#​15927](https://github.com/prettier/prettier/pull/15927) by [@​fisker](https://github.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://github.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://github.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#​15896](https://github.com/prettier/prettier/pull/15896) by [@​eelco](https://github.com/eelco)) For example this code would crash before: ```jsx <style {...spread}>{`.{}`}</style> ``` ##### Fix formatting error on optional call expression and member chain ([#​15920](https://github.com/prettier/prettier/pull/15920) by [@​sosukesuzuki](https://github.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://github.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://github.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#​15915](https://github.com/prettier/prettier/pull/15915) by [@​sosukesuzuki](https://github.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://github.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://github.com/prettier/prettier/compare/3.1.1...3.2.0) 🔗 [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html) </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
1 task
kodiakhq bot
pushed a commit
to mheob/changeset-changelog
that referenced
this pull request
Jan 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^18.4.3` -> `^18.6.0`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/18.4.3/18.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/18.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/18.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/18.4.3/18.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/18.4.3/18.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.10.5` -> `^20.11.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.5/20.11.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.5/20.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`^1.1.0` -> `^1.2.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.1.1/1.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/1.1.1/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/1.1.1/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [dotenv](https://github.com/motdotla/dotenv) | [`^16.3.1` -> `^16.4.1`](https://renovatebot.com/diffs/npm/dotenv/16.3.1/16.4.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/dotenv/16.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/dotenv/16.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/dotenv/16.3.1/16.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/dotenv/16.3.1/16.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.1.0` -> `^1.2.1`](https://renovatebot.com/diffs/npm/vitest/1.1.1/1.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.1/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.1/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v18.6.0`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1860-2024-01-25) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v18.5.0...v18.6.0) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) ### [`v18.5.0`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1850-2024-01-22) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v18.4.4...v18.5.0) ##### Features - **cli:** print-config now can be configured to print a json in stdout ([#​3863](https://github.com/conventional-changelog/commitlint/issues/3863)) ([6381a2d](https://github.com/conventional-changelog/commitlint/commit/6381a2daa0d5d89ab2195998d63a9690a533d3f2)), closes [#​3819](https://github.com/conventional-changelog/commitlint/issues/3819) #### [18.4.4](https://github.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) (2024-01-04) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) #### [18.4.3](https://github.com/conventional-changelog/commitlint/compare/v18.4.2...v18.4.3) (2023-11-21) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) #### [18.4.2](https://github.com/conventional-changelog/commitlint/compare/v18.4.1...v18.4.2) (2023-11-16) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) #### [18.4.1](https://github.com/conventional-changelog/commitlint/compare/v18.4.0...v18.4.1) (2023-11-12) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) ### [`v18.4.4`](https://github.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1844-2024-01-04) [Compare Source](https://github.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) **Note:** Version bump only for package [@​commitlint/cli](https://github.com/commitlint/cli) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow `Promise` in `mockImplementation` if it's not in the function signature - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when `vi.mock` is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) </details> <details> <summary>motdotla/dotenv (dotenv)</summary> ### [`v16.4.1`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1641-2024-01-24) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.4.0...v16.4.1) - Patch support for array as `path` option [#​797](https://github.com/motdotla/dotenv/pull/797) ### [`v16.4.0`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1640-2024-01-23) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.0) - Add `error.code` to error messages around `.env.vault` decryption handling [#​795](https://github.com/motdotla/dotenv/pull/795) - Add ability to find `.env.vault` file when filename(s) passed as an array [#​784](https://github.com/motdotla/dotenv/pull/784) ### [`v16.3.2`](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1632-2024-01-18) [Compare Source](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2) ##### Added - Add debug message when no encoding set [#​735](https://github.com/motdotla/dotenv/pull/735) ##### Changed - Fix output typing for `populate` [#​792](https://github.com/motdotla/dotenv/pull/792) - Use subarray instead of slice [#​793](https://github.com/motdotla/dotenv/pull/793) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/changeset-changelog).
davydkov
pushed a commit
to likec4/likec4
that referenced
this pull request
Feb 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`^1.1.3` -> `^1.2.2`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.1.3/1.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.1.3` -> `^1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/ui)</summary> ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/likec4/likec4). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to Unleash/unleash
that referenced
this pull request
Feb 13, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/all-contributors-for-repository
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/all-contributors-for-repository). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to danvk/gravlax
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/danvk/gravlax). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/all-contributors-for-repository
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/all-contributors-for-repository). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/all-contributors-auto-action
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/all-contributors-auto-action). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/console-fail-test
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/console-fail-test). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to danvk/gravlax
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/danvk/gravlax). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/JoshuaKGoldberg
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.0` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.1.0/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/JoshuaKGoldberg). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/JoshuaKGoldberg
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.0` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/JoshuaKGoldberg). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/all-contributors-auto-action
that referenced
this pull request
Feb 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/all-contributors-auto-action). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/refined-saved-replies
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/refined-saved-replies). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/are-docs-informative
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/are-docs-informative). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/sinon-timers-repeatable
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/sinon-timers-repeatable). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/should-semantic-release
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/should-semantic-release). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/refined-saved-replies
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/refined-saved-replies). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/sentences-per-line
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/sentences-per-line). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/create-typescript-app
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/create-typescript-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/tidelift-me-up
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/tidelift-me-up). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/eslint-plugin-expect-type
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/eslint-plugin-expect-type). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/should-semantic-release
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/should-semantic-release). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/are-docs-informative
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/are-docs-informative). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/sentences-per-line
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/sentences-per-line). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/tidelift-me-up
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/tidelift-me-up). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/create-typescript-app
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/create-typescript-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/sinon-timers-repeatable
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/sinon-timers-repeatable). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/prettier-plugin-curly
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/eslint-plugin-expect-type
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/eslint-plugin-expect-type). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/prettier-plugin-curly
that referenced
this pull request
Feb 27, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.0.2` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/prettier-plugin-curly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/github-username-to-emails
that referenced
this pull request
Feb 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.0` -> `1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.1.0/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/github-username-to-emails). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to JoshuaKGoldberg/github-username-to-emails
that referenced
this pull request
Feb 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.0` -> `1.3.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/github-username-to-emails). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to solid-design-system/solid
that referenced
this pull request
Mar 7, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite-node](https://github.com/vitest-dev/vitest/blob/main/packages/vite-node#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vite-node)) | [`1.0.1` -> `1.3.1`](https://renovatebot.com/diffs/npm/vite-node/1.0.1/1.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite-node/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-node/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-node/1.0.1/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-node/1.0.1/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vite-node)</summary> ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [vitest-dev/vitest#4873 [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4876 [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [vitest-dev/vitest#4863 [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4839 [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4686 and [vitest-dev/vitest#4692 [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4837 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#4838 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4827 [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow `Promise` in `mockImplementation` if it's not in the function signature - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4859 [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4870 [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when `vi.mock` is called - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4862 [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4871 [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4802 [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4698 [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4815 [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [vitest-dev/vitest#4831 [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [vitest-dev/vitest#4824 [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4814 [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4811 [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4796 [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4795 [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4819 [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4781 [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [vitest-dev/vitest#4751 [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4773 [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4705 [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [vitest-dev/vitest#4777 [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4279 [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4775 [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4734 [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4683 [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4743 [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4724 [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4717 [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4736 [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4774 [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4697 [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [vitest-dev/vitest#4707 [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4700 [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4693 [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4711 [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ### [`v1.0.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ##### 🐞 Bug Fixes - Don't check if vite is installed - by [@​wojtekmaj](https://github.com/wojtekmaj) in [vitest-dev/vitest#4659 [<samp>(775e2)</samp>](https://github.com/vitest-dev/vitest/commit/775e2014) - Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://github.com/wojtekmaj) in [vitest-dev/vitest#4657 [<samp>(574cc)</samp>](https://github.com/vitest-dev/vitest/commit/574cc7d0) - Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4663 [<samp>(74820)</samp>](https://github.com/vitest-dev/vitest/commit/748205dc) - **cli**: - Prompted packages fail to install - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4593 [<samp>(a9908)</samp>](https://github.com/vitest-dev/vitest/commit/a9908453) - **expect**: - Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4670 [<samp>(43783)</samp>](https://github.com/vitest-dev/vitest/commit/43783cfe) - **runner**: - Improve fixture error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4673 [<samp>(1e4aa)</samp>](https://github.com/vitest-dev/vitest/commit/1e4aa8e4) - Fix fixture cleanup when test times out - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4679 [<samp>(e7c5e)</samp>](https://github.com/vitest-dev/vitest/commit/e7c5e1f7) - **vitest**: - Support new Request('/api') in happy-dom - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4671 [<samp>(6e6ee)</samp>](https://github.com/vitest-dev/vitest/commit/6e6ee10e) - Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4677 [<samp>(cb786)</samp>](https://github.com/vitest-dev/vitest/commit/cb7864aa) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 5am every weekday" in timezone Europe/Berlin, Automerge - "after 10pm every weekday,before 5am every weekday" in timezone Europe/Berlin. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/solid-design-system/solid). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
r4ai
added a commit
to r4ai/templates
that referenced
this pull request
Apr 10, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^0.34.6` -> `^1.0.0`](https://renovatebot.com/diffs/npm/vitest/0.34.6/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.6/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.6/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.4.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://github.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://github.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://github.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://github.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://github.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://github.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://github.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://github.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://github.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://github.com/saitonakamura) and [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://github.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://github.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://github.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://github.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://github.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://github.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://github.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://github.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://github.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://github.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://github.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://github.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://github.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://github.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://github.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://github.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://github.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://github.com/vitest-dev/vitest/issues/5248) [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://github.com/vitest-dev/vitest/issues/5235) [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://github.com/vitest-dev/vitest/issues/5206) [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://github.com/vitest-dev/vitest/issues/5242) [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://github.com/vitest-dev/vitest/issues/5171) [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://github.com/vitest-dev/vitest/issues/5036) [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://github.com/vitest-dev/vitest/issues/5092) [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://github.com/vitest-dev/vitest/issues/5111) [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://github.com/vitest-dev/vitest/issues/5102) [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://github.com/vitest-dev/vitest/issues/5166) [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://github.com/vitest-dev/vitest/issues/5128) [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://github.com/vitest-dev/vitest/issues/5093) [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://github.com/vitest-dev/vitest/issues/5)[15](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5](https://github.com/vitest-dev/vitest/issues/5)[16](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://github.com/vitest-dev/vitest/issues/5142) [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://github.com/vitest-dev/vitest/issues/5131) [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://github.com/vitest-dev/vitest/issues/5063) [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://github.com/vitest-dev/vitest/issues/5079) [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://github.com/vitest-dev/vitest/issues/5103) [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://github.com/vitest-dev/vitest/issues/5208) [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://github.com/vitest-dev/vitest/issues/5221) [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://github.com/vitest-dev/vitest/issues/5082) [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://github.com/vitest-dev/vitest/issues/5056) [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://github.com/vitest-dev/vitest/issues/5)[17](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5](https://github.com/vitest-dev/vitest/issues/5)[18](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://github.com/vitest-dev/vitest/issues/5136)6 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://github.com/vitest-dev/vitest/issues/5116) [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://github.com/vitest-dev/vitest/issues/5065) [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/52](https://github.com/vitest-dev/vitest/issues/52)[19](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20) [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://github.com/vitest-dev/vitest/issues/5189) [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://github.com/vitest-dev/vitest/issues/5081) [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://github.com/vitest-dev/vitest/issues/5080) [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://github.com/vitest-dev/vitest/issues/5089) [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://github.com/vitest-dev/vitest/issues/5132) [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://github.com/vitest-dev/vitest/issues/5158) [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://github.com/vitest-dev/vitest/issues/5162) [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://github.com/vitest-dev/vitest/issues/5164) [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://github.com/vitest-dev/vitest/issues/5156) [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://github.com/vitest-dev/vitest/issues/5199) [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5](https://github.com/vitest-dev/vitest/issues/5)[21](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/50](https://github.com/vitest-dev/vitest/issues/50)[53](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54) [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://github.com/vitest-dev/vitest/issues/5008) [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://github.com/vitest-dev/vitest/issues/5022) [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://github.com/vitest-dev/vitest/issues/5000) [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://github.com/vitest-dev/vitest/issues/5002) [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://github.com/vitest-dev/vitest/issues/5024) [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://github.com/vitest-dev/vitest/issues/5044) [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://github.com/vitest-dev/vitest/issues/5011) [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://github.com/vitest-dev/vitest/issues/5032) [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://github.com/vitest-dev/vitest/issues/4934) [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://github.com/vitest-dev/vitest/issues/5034) [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://github.com/vitest-dev/vitest/issues/5028) [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://github.com/vitest-dev/vitest/issues/5045) [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://github.com/vitest-dev/vitest/issues/5050) [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://github.com/vitest-dev/vitest/issues/4947) [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://github.com/vitest-dev/vitest/issues/4855) [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://github.com/vitest-dev/vitest/issues/4992) [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://github.com/vitest-dev/vitest/issues/4959) [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://github.com/vitest-dev/vitest/issues/4942) [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://github.com/vitest-dev/vitest/issues/4987) [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://github.com/vitest-dev/vitest/issues/4962) [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://github.com/vitest-dev/vitest/issues/4974) [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://github.com/vitest-dev/vitest/issues/4976) [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://github.com/vitest-dev/vitest/issues/4966) [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://github.com/vitest-dev/vitest/issues/4980) [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://github.com/vitest-dev/vitest/issues/4969) [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://github.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://github.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://github.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://github.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://github.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://github.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://github.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://github.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://github.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://github.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://github.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://github.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://github.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://github.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://github.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://github.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://github.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://github.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://github.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://github.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://github.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://github.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://github.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://github.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://github.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://github.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://github.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://github.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://github.com/sheremet-va) and **Dunqing** in [https://github.com/vitest-dev/vitest/issues/4873](https://github.com/vitest-dev/vitest/issues/4873) [<samp>(7719e)</samp>](https://github.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4876](https://github.com/vitest-dev/vitest/issues/4876) [<samp>(1769c)</samp>](https://github.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(7b4a2)</samp>](https://github.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://github.com/mbland) in [https://github.com/vitest-dev/vitest/issues/4863](https://github.com/vitest-dev/vitest/issues/4863) [<samp>(345a2)</samp>](https://github.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://github.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4839](https://github.com/vitest-dev/vitest/issues/4839) [<samp>(b8140)</samp>](https://github.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://github.com/mbland) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4686](https://github.com/vitest-dev/vitest/issues/4686) and [https://github.com/vitest-dev/vitest/issues/4692](https://github.com/vitest-dev/vitest/issues/4692) [<samp>(9e345)</samp>](https://github.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://github.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4837](https://github.com/vitest-dev/vitest/issues/4837)7 [<samp>(47bc2)</samp>](https://github.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://github.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4838](https://github.com/vitest-dev/vitest/issues/4838)8 [<samp>(df261)</samp>](https://github.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4827](https://github.com/vitest-dev/vitest/issues/4827) [<samp>(1fee6)</samp>](https://github.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4859](https://github.com/vitest-dev/vitest/issues/4859) [<samp>(072e0)</samp>](https://github.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4870](https://github.com/vitest-dev/vitest/issues/4870) [<samp>(15bbb)</samp>](https://github.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4862](https://github.com/vitest-dev/vitest/issues/4862) [<samp>(e12a5)</samp>](https://github.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4871](https://github.com/vitest-dev/vitest/issues/4871) [<samp>(6088b)</samp>](https://github.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://github.com/inottn) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4802](https://github.com/vitest-dev/vitest/issues/4802) [<samp>(70e8a)</samp>](https://github.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://github.com/wojtekmaj) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4698](https://github.com/vitest-dev/vitest/issues/4698) [<samp>(ee8b4)</samp>](https://github.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4815](https://github.com/vitest-dev/vitest/issues/4815) [<samp>(8f622)</samp>](https://github.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://github.com/bonyuta0204) in [https://github.com/vitest-dev/vitest/issues/4831](https://github.com/vitest-dev/vitest/issues/4831) [<samp>(5053a)</samp>](https://github.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://github.com/bard) in [https://github.com/vitest-dev/vitest/issues/4824](https://github.com/vitest-dev/vitest/issues/4824) [<samp>(7e6a6)</samp>](https://github.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4814](https://github.com/vitest-dev/vitest/issues/4814) [<samp>(19faf)</samp>](https://github.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4811](https://github.com/vitest-dev/vitest/issues/4811) [<samp>(e8ca6)</samp>](https://github.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4796](https://github.com/vitest-dev/vitest/issues/4796) [<samp>(957da)</samp>](https://github.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4795](https://github.com/vitest-dev/vitest/issues/4795) [<samp>(06c14)</samp>](https://github.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4819](https://github.com/vitest-dev/vitest/issues/4819) [<samp>(2baea)</samp>](https://github.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4781](https://github.com/vitest-dev/vitest/issues/4781) [<samp>(cf53d)</samp>](https://github.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ### [`v1.1.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://github.com/zookatron) in [https://github.com/vitest-dev/vitest/issues/4751](https://github.com/vitest-dev/vitest/issues/4751) [<samp>(486a3)</samp>](https://github.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4773](https://github.com/vitest-dev/vitest/issues/4773) [<samp>(67d93)</samp>](https://github.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://github.com/sheremet-va) and [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4705](https://github.com/vitest-dev/vitest/issues/4705) [<samp>(fd5d7)</samp>](https://github.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://github.com/sheremet-va), [@​AriPerkkio](https://github.com/AriPerkkio) and **Pascal Jufer** in [https://github.com/vitest-dev/vitest/issues/4777](https://github.com/vitest-dev/vitest/issues/4777) [<samp>(4d55a)</samp>](https://github.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://github.com/Namchee) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4279](https://github.com/vitest-dev/vitest/issues/4279) [<samp>(f859e)</samp>](https://github.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4775](https://github.com/vitest-dev/vitest/issues/4775) [<samp>(5a71e)</samp>](https://github.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4734](https://github.com/vitest-dev/vitest/issues/4734) [<samp>(f8f70)</samp>](https://github.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4683](https://github.com/vitest-dev/vitest/issues/4683) [<samp>(c6f5f)</samp>](https://github.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4743](https://github.com/vitest-dev/vitest/issues/4743) [<samp>(9cc36)</samp>](https://github.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4724](https://github.com/vitest-dev/vitest/issues/4724) [<samp>(e0dde)</samp>](https://github.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4717](https://github.com/vitest-dev/vitest/issues/4717) [<samp>(71911)</samp>](https://github.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4736](https://github.com/vitest-dev/vitest/issues/4736) [<samp>(f43fd)</samp>](https://github.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4774](https://github.com/vitest-dev/vitest/issues/4774) [<samp>(8dabe)</samp>](https://github.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4697](https://github.com/vitest-dev/vitest/issues/4697) [<samp>(a7931)</samp>](https://github.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://github.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/4707](https://github.com/vitest-dev/vitest/issues/4707) [<samp>(37388)</samp>](https://github.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4700](https://github.com/vitest-dev/vitest/issues/4700) [<samp>(92afd)</samp>](https://github.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4693](https://github.com/vitest-dev/vitest/issues/4693) [<samp>(34135)</samp>](https://github.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://github.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://github.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ### [`v1.0.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ##### 🐞 Bug Fixes - Don't check if vite is installed - by [@​wojtekmaj](https://github.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4659](https://github.com/vitest-dev/vitest/issues/4659) [<samp>(775e2)</samp>](https://github.com/vitest-dev/vitest/commit/775e2014) - Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://github.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4657](https://github.com/vitest-dev/vitest/issues/4657) [<samp>(574cc)</samp>](https://github.com/vitest-dev/vitest/commit/574cc7d0) - Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4663](https://github.com/vitest-dev/vitest/issues/4663) [<samp>(74820)</samp>](https://github.com/vitest-dev/vitest/commit/748205dc) - **cli**: - Prompted packages fail to install - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4593](https://github.com/vitest-dev/vitest/issues/4593) [<samp>(a9908)</samp>](https://github.com/vitest-dev/vitest/commit/a9908453) - **expect**: - Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4670](https://github.com/vitest-dev/vitest/issues/4670) [<samp>(43783)</samp>](https://github.com/vitest-dev/vitest/commit/43783cfe) - **runner**: - Improve fixture error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4673](https://github.com/vitest-dev/vitest/issues/4673) [<samp>(1e4aa)</samp>](https://github.com/vitest-dev/vitest/commit/1e4aa8e4) - Fix fixture cleanup when test times out - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4679](https://github.com/vitest-dev/vitest/issues/4679) [<samp>(e7c5e)</samp>](https://github.com/vitest-dev/vitest/commit/e7c5e1f7) - **vitest**: - Support new Request('/api') in happy-dom - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4671](https://github.com/vitest-dev/vitest/issues/4671) [<samp>(6e6ee)</samp>](https://github.com/vitest-dev/vitest/commit/6e6ee10e) - Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4677](https://github.com/vitest-dev/vitest/issues/4677) [<samp>(cb786)</samp>](https://github.com/vitest-dev/vitest/commit/cb7864aa) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ### [`v1.0.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.0.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ##### 🐞 Bug Fixes - Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4654](https://github.com/vitest-dev/ </details> --- ### 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/r4ai/templates). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuMjY5LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: rai <mj82xx@gmail.com> Co-authored-by: rai <96561881+r4ai@users.noreply.github.com>
renovate bot
added a commit
to danvk/gravlax
that referenced
this pull request
Apr 18, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.1.3` -> `1.5.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.5.0`](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5342 [<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5295 [<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5281 [<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5314 [<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5241 [<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://github.com/saitonakamura) and [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](https://github.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5250 [<samp>(29f98)</samp>](https://github.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5155 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5163 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5179 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5184 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#5219 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba20) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5215 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5074 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5053 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/danvk/gravlax). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
added a commit
to danvk/gravlax
that referenced
this pull request
Apr 19, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.3` -> `1.5.0`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.5.0`](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5342 [<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5295 [<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5281 [<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5314 [<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5241 [<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://github.com/saitonakamura) and [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](https://github.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5250 [<samp>(29f98)</samp>](https://github.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ### [`v1.3.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5248 [<samp>(c793a)</samp>](https://github.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@​DerYeger](https://github.com/DerYeger) in [vitest-dev/vitest#5235 [<samp>(38155)</samp>](https://github.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@​AriPerkkio](https://github.com/AriPerkkio) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5206 [<samp>(a2804)</samp>](https://github.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5242 [<samp>(5376d)</samp>](https://github.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [vitest-dev/vitest#5171 [<samp>(82885)</samp>](https://github.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5036 [<samp>(4f401)</samp>](https://github.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5092 [<samp>(5b102)</samp>](https://github.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5111 [<samp>(fec9c)</samp>](https://github.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@​fenghan34](https://github.com/fenghan34) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5102 [<samp>(0441f)</samp>](https://github.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@​posva](https://github.com/posva) in [vitest-dev/vitest#5166 [<samp>(c28b4)</samp>](https://github.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5128 [<samp>(6f5b4)</samp>](https://github.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5093 [<samp>(40afb)</samp>](https://github.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(567d2)</samp>](https://github.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5 [<samp>(4e179)</samp>](https://github.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5142 [<samp>(7d9b1)</samp>](https://github.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5131 [<samp>(5ed53)</samp>](https://github.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5063 [<samp>(81105)</samp>](https://github.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5079 [<samp>(0d2bf)</samp>](https://github.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5103 [<samp>(a6e04)</samp>](https://github.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@​antfu](https://github.com/antfu) in [vitest-dev/vitest#5208 [<samp>(68f51)</samp>](https://github.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@​penalosa](https://github.com/penalosa) in [vitest-dev/vitest#5221 [<samp>(bc5b2)</samp>](https://github.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5082 [<samp>(714c9)</samp>](https://github.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5056 [<samp>(ae73f)</samp>](https://github.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=<name>` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(656e2)</samp>](https://github.com/vitest-dev/vitest/commit/656e210b) - **coverage**: - `.tmp` directory conflicts with `--shard` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5 [<samp>(5749d)</samp>](https://github.com/vitest-dev/vitest/commit/5749d2c2) - **deps**: - Update dependency strip-literal to v2 - by [@​renovate](https://github.com/renovate)\[bot] in[vitest-dev/vitest#5136 [<samp>(ef557)</samp>](https://github.com/vitest-dev/vitest/commit/ef557243) - **reporters**: - Testsuite name should include project root in Junit output - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5116 [<samp>(2494f)</samp>](https://github.com/vitest-dev/vitest/commit/2494fbf2) - **typecheck**: - Fix suite collection while-loop - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5065 [<samp>(35675)</samp>](https://github.com/vitest-dev/vitest/commit/35675bd3) - **ui**: - Fix tests duration time - by [@​vovsemenv](https://github.com/vovsemenv) in [vitest-dev/vitest#52 [<samp>(58103)</samp>](https://github.com/vitest-dev/vitest/commit/581030ee) - **utils**: - Fix asymmetric matcher diff inside array - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5189 [<samp>(3ffcd)</samp>](https://github.com/vitest-dev/vitest/commit/3ffcd2ea) - **vitest**: - Correctly report failed test files as failures in json reporter, export json reporter types - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5081 [<samp>(0417b)</samp>](https://github.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\)) - Don't run typecheck tests in browser if both are enabled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5080 [<samp>(1045b)</samp>](https://github.com/vitest-dev/vitest/commit/1045b98b) - Handle function config inside `defineWorkspace` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5089 [<samp>(0bf52)</samp>](https://github.com/vitest-dev/vitest/commit/0bf52533) - Remove excessive listeners when running without isolation, don't reset the state - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5132 [<samp>(b607f)</samp>](https://github.com/vitest-dev/vitest/commit/b607f1ea) - Auto-enable "github-actions" only where users didn't configure reporters - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5158 [<samp>(ef044)</samp>](https://github.com/vitest-dev/vitest/commit/ef0440cb) - Support more array cli options - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5162 [<samp>(3afe6)</samp>](https://github.com/vitest-dev/vitest/commit/3afe68f1) - Add types for the new global `jsdom` variable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5164 [<samp>(0f898)</samp>](https://github.com/vitest-dev/vitest/commit/0f898d87) - Expose onTestFinished globally - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(1304f)</samp>](https://github.com/vitest-dev/vitest/commit/1304fed7) - Disable optimizer by default until it's stable - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5156 [<samp>(e1bd8)</samp>](https://github.com/vitest-dev/vitest/commit/e1bd8d5d) - Delegate snapshot options to workspace from root config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5199 [<samp>(86297)</samp>](https://github.com/vitest-dev/vitest/commit/86297d42) - Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5 [<samp>(1aecd)</samp>](https://github.com/vitest-dev/vitest/commit/1aecd650) - **vm**: - Handle `disableConsoleIntercept` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/[50](https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [<samp>(a55ad)</samp>](https://github.com/vitest-dev/vitest/commit/a55adac6) - Improve error when module is not found - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#50 [<samp>(79a50)</samp>](https://github.com/vitest-dev/vitest/commit/79a50c3f) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ### [`v1.2.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ##### 🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5008 [<samp>(d53b8)</samp>](https://github.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5022 [<samp>(66898)</samp>](https://github.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5000 [<samp>(a199a)</samp>](https://github.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5002 [<samp>(7d0a4)</samp>](https://github.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5024 [<samp>(915d6)</samp>](https://github.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5044 [<samp>(6dae3)</samp>](https://github.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5011 [<samp>(73148)</samp>](https://github.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks - by [@​adriencaccia](https://github.com/adriencaccia) in [vitest-dev/vitest#5032 [<samp>(73448)</samp>](https://github.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection - by [@​blake-newman](https://github.com/blake-newman) in [vitest-dev/vitest#4934 [<samp>(9c7c0)</samp>](https://github.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5034 [<samp>(253df)</samp>](https://github.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5028 [<samp>(a9a48)</samp>](https://github.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5045 [<samp>(cf564)</samp>](https://github.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5050 [<samp>(fff1a)</samp>](https://github.com/vitest-dev/vitest/commit/fff1a270) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4947 [<samp>(db01f)</samp>](https://github.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4855 [<samp>(6c1cc)</samp>](https://github.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4992 [<samp>(6c5fe)</samp>](https://github.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4959 [<samp>(4b411)</samp>](https://github.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4942 [<samp>(06bae)</samp>](https://github.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4987 [<samp>(21f57)</samp>](https://github.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4962 [<samp>(dcf2e)</samp>](https://github.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4974 [<samp>(df0db)</samp>](https://github.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4976 [<samp>(952c3)</samp>](https://github.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4966 [<samp>(39a71)</samp>](https://github.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4980 [<samp>(8877e)</samp>](https://github.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4969 [<samp>(f8bff)</samp>](https://github.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://github.com/tigranmk) in [vitest-dev/vitest#3567 and [vitest-dev/vitest#4911 [<samp>(1326c)</samp>](https://github.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://github.com/bonyuta0204) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4275 and [vitest-dev/vitest#4733 [<samp>(480d8)</samp>](https://github.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4813 [<samp>(8c969)</samp>](https://github.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://github.com/tigranmk) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#2875 and [vitest-dev/vitest#4880 [<samp>(463be)</samp>](https://github.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4828 [<samp>(96dc6)</samp>](https://github.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://github.com/spiroka) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4380 [<samp>(7f59a)</samp>](https://github.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4786 [<samp>(43fa6)</samp>](https://github.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4929 [<samp>(ccb25)</samp>](https://github.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4936 [<samp>(c2cce)</samp>](https://github.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4890 [<samp>(55f53)</samp>](https://github.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4909 [<samp>(4add9)</samp>](https://github.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4867 [<samp>(508fc)</samp>](https://github.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4891 [<samp>(7fd44)</samp>](https://github.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://github.com/capricorn86) in [vitest-dev/vitest#4931 [<samp>(91719)</samp>](https://github.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4917 [<samp>(9ae9d)</samp>](https://github.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#4897 [<samp>(f8ba8)</samp>](https://github.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4903 [<samp>(8e6c1)</samp>](https://github.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4905 [<samp>(f99cc)</samp>](https://github.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4915 [<samp>(ca62f)</samp>](https://github.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4924 [<samp>(0e77e)</samp>](https://github.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4916 [<samp>(c4eac)</samp>](https://github.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4935 [<samp>(528bd)</samp>](https://github.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4938 [<samp>(ca76f)</samp>](https://github.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#4945 [<samp>(1663f)</samp>](https://github.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#4765 [<samp>(e9fe4)</samp>](https://github.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/danvk/gravlax). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Related #4922
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.