Skip to content

Comments

feat: support case-insensitive path matching in cli (fix #3567)#4911

Merged
sheremet-va merged 1 commit intovitest-dev:mainfrom
tigranmk:feat/case-insensitive
Jan 12, 2024
Merged

feat: support case-insensitive path matching in cli (fix #3567)#4911
sheremet-va merged 1 commit intovitest-dev:mainfrom
tigranmk:feat/case-insensitive

Conversation

@tigranmk
Copy link
Contributor

@tigranmk tigranmk commented Jan 9, 2024

Description

This PR fixes #3567

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@netlify
Copy link

netlify bot commented Jan 9, 2024

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
🔨 Latest commit 6732a8d
🔍 Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/659ffed5d8e915000741b9cd
😎 Deploy Preview https://deploy-preview-4911--fastidious-cascaron-4ded94.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sheremet-va sheremet-va added this to the 1.2.0 milestone Jan 9, 2024

try {
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options))
const ctx = await startVitest(mode, cliFilters.map(cliFilter => normalize(cliFilter.toLocaleLowerCase())), normalizeCliOptions(options))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if the actual file has an uppercase letter? Would this filter work?

vitest SOME-name.js

./some-name.js
./SOME-name.js

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tigranmk tigranmk marked this pull request as draft January 10, 2024 07:47
@tigranmk tigranmk force-pushed the feat/case-insensitive branch 3 times, most recently from e94185d to 04a94f8 Compare January 11, 2024 14:20
@tigranmk tigranmk marked this pull request as ready for review January 11, 2024 14:44
@tigranmk tigranmk force-pushed the feat/case-insensitive branch from 04a94f8 to 6732a8d Compare January 11, 2024 14:44
@tigranmk tigranmk requested a review from sheremet-va January 11, 2024 15:18
@sheremet-va sheremet-va merged commit 1326c6e into vitest-dev:main Jan 12, 2024
renovate bot referenced this pull request in Johannes-Andersen/Johannes 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://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)
|
[![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://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) |
[![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 (@&#8203;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
[@&#8203;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
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;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
[@&#8203;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
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;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
[@&#8203;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
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[![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://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) |
[![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://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
[@&#8203;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
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;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
[@&#8203;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
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;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
[@&#8203;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
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[![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://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) |
[![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://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
[@&#8203;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
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;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
[@&#8203;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
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;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
[@&#8203;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
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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>
renovate bot referenced this pull request in slipmatio/toolbelt Jan 15, 2024