feat: support case-insensitive path matching in cli (fix #3567)#4911
Merged
sheremet-va merged 1 commit intovitest-dev:mainfrom Jan 12, 2024
Merged
feat: support case-insensitive path matching in cli (fix #3567)#4911sheremet-va merged 1 commit intovitest-dev:mainfrom
sheremet-va merged 1 commit intovitest-dev:mainfrom
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
sheremet-va
reviewed
Jan 9, 2024
packages/vitest/src/node/cli.ts
Outdated
|
|
||
| try { | ||
| const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options)) | ||
| const ctx = await startVitest(mode, cliFilters.map(cliFilter => normalize(cliFilter.toLocaleLowerCase())), normalizeCliOptions(options)) |
Member
There was a problem hiding this comment.
What happens if the actual file has an uppercase letter? Would this filter work?
vitest SOME-name.js
./some-name.js
./SOME-name.js
Contributor
Author
There was a problem hiding this comment.
What happens if the actual file has an uppercase letter? Would this filter work?
vitest SOME-name.js ./some-name.js ./SOME-name.js
There were problems with uppercase letter files, I made changes.
e94185d to
04a94f8
Compare
04a94f8 to
6732a8d
Compare
sheremet-va
approved these changes
Jan 12, 2024
renovate bot
referenced
this pull request
in Johannes-Andersen/Johannes
Jan 12, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.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://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.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
referenced
this pull request
in fwouts/previewjs
Jan 12, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.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://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.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
referenced
this pull request
in SebastianGoeb/chinese-chart
Jan 13, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.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://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.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://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.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>
Description
This PR fixes #3567
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.