Skip to content

Commit

Permalink
chore(deps): update dependency vitest to ^1.2.0 (#2384)
Browse files Browse the repository at this point in the history
[![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
[vitest-dev/vitest#3567
and
[vitest-dev/vitest#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
[vitest-dev/vitest#4275
and
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#2875
and
[vitest-dev/vitest#4880
[<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38)
-   **coverage**:
- Custom reporter support  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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
[vitest-dev/vitest#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>
  • Loading branch information
renovate[bot] committed Jan 12, 2024
1 parent f0465b5 commit efc0c3b
Show file tree
Hide file tree
Showing 13 changed files with 162 additions and 889 deletions.
2 changes: 1 addition & 1 deletion analyzer/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"rimraf": "^5.0.5",
"shx": "^0.3.4",
"unbuild": "^2.0.0",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"@types/html-escaper": "^3.0.2",
"shx": "^0.3.4",
"unbuild": "^2.0.0",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"rimraf": "^5.0.5",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"solid-js": "^1.8.11",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"pino": "^8.17.2",
"pino-pretty": "^10.3.1",
"unbuild": "^2.0.0",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"shx": "^0.3.4",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"shx": "^0.3.4",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
Loading

0 comments on commit efc0c3b

Please sign in to comment.