Skip to content
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(ui): remove "filters" flickering #6463

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

sheremet-va
Copy link
Member

Description

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:.

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 2e712fe
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/66de989282e35b000864e464
😎 Deploy Preview https://deploy-preview-6463--vitest-dev.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 changed the title test: always click on the details button in ui test fix(ui): remove "filters" flickering Sep 9, 2024
@sheremet-va sheremet-va merged commit 0223bb7 into vitest-dev:main Sep 9, 2024
15 of 16 checks passed
@sheremet-va sheremet-va deleted the test/force-click-ui branch September 9, 2024 07:39
renovate bot referenced this pull request in line/line-bot-sdk-nodejs Sep 12, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/line/line-bot-sdk-nodejs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Sep 12, 2024
##### [v2.1.0](https://github.com/vitest-dev/vitest/releases/tag/v2.1.0)

This release makes another big change to the Browser Mode by introducing [locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either [vitest-browser-vue](https://github.com/vitest-dev/vitest-browser-vue), [vitest-browser-svelte ](https://github.com/vitest-dev/vitest-browser-svelte) or [vitest-browser-react](https://github.com/vitest-dev/vitest-browser-react) to render components and make assertions using locators. Locators are also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
    -   Make spec into a class instead of a tuple  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6355 [<samp>(874a1)</samp>](vitest-dev/vitest@874a121e)
-   **browser**:
    -   Move page.config to server.config, add more docs  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6252 [<samp>(af2b8)</samp>](vitest-dev/vitest@af2b813c)
    -   Make iframe scalable, improve documentation  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6257 [<samp>(74ca1)</samp>](vitest-dev/vitest@74ca11a4)
    -   Introduce built-in locators  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6084 [<samp>(3347f)</samp>](vitest-dev/vitest@3347f83e)
    -   Support v8 coverage  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6273 [<samp>(34199)</samp>](vitest-dev/vitest@34199bdf)
    -   Support `userEvent.upload` in playwright provider  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6442 [<samp>(cf148)</samp>](vitest-dev/vitest@cf148645)
    -   Support `--inspect`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6433 [<samp>(0499a)</samp>](vitest-dev/vitest@0499a315)
    -   Support `--inspect-brk`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6434 [<samp>(7ab0f)</samp>](vitest-dev/vitest@7ab0f4a8)
-   **cli**:
    -   Extend existing list command to output only a list of file names  -  by [@Ma-hawaj](https://github.com/Ma-hawaj) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6392 [<samp>(008f0)</samp>](vitest-dev/vitest@008f00b2)
-   **coverage**:
    -   Add `--exclude-after-remap`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6309 [<samp>(5932a)</samp>](vitest-dev/vitest@5932a7f9)
-   **mocker**:
    -   Introduce [@vitest/mocker](https://github.com/vitest/mocker) package, allow `{ spy: true }` instead of a factory  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6289 [<samp>(95f02)</samp>](vitest-dev/vitest@95f0203f)
-   **vitest**:
    -   Add "provide" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6253 [<samp>(4409d)</samp>](vitest-dev/vitest@4409d779)
    -   Add return type and promisable mockFactory  -  by [@syi0808](https://github.com/syi0808) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6139 [<samp>(f5e0b)</samp>](vitest-dev/vitest@f5e0b987)
    -   Add `vi.advanceTimersToNextFrame`  -  by [@bnjm](https://github.com/bnjm) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6347 [<samp>(8ff63)</samp>](vitest-dev/vitest@8ff63560)
    -   Allow env to be stubbed to undefined  -  by [@JSanchezIO](https://github.com/JSanchezIO) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6359 [<samp>(c3b27)</samp>](vitest-dev/vitest@c3b2757c)

#####    🐞 Bug Fixes

-   Correctly resolve nested mocks with `index` file  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6266 [<samp>(081cf)</samp>](vitest-dev/vitest@081cfe03)
-   Don't panic when coverage.reporter is a string  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6267 [<samp>(7b37d)</samp>](vitest-dev/vitest@7b37d27b)
-   Align RawMatcherFn type definition with Jest  -  by [@wheresrhys](https://github.com/wheresrhys) in vitest-dev/vitest#6351 [<samp>(d09f0)</samp>](vitest-dev/vitest@d09f00c7)
-   Cjs build of vite node server  -  by [@AkaraChen](https://github.com/AkaraChen) in vitest-dev/vitest#6389 [<samp>(12e70)</samp>](vitest-dev/vitest@12e702bd)
-   Allow inlining vite's cached dependencies  -  by [@chriswheeldon-peakon](https://github.com/chriswheeldon-peakon) in vitest-dev/vitest#6284 [<samp>(03208)</samp>](vitest-dev/vitest@03208017)
-   Print unexpected error message if peer dependencies have a different version  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6446 [<samp>(b992b)</samp>](vitest-dev/vitest@b992b346)
-   Ignore importer when resolving Vitest  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6469 [<samp>(0b447)</samp>](vitest-dev/vitest@0b447226)
-   `expect.getState().testPath` always returns correct path  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6472 [<samp>(ac698)</samp>](vitest-dev/vitest@ac698b1c)
-   UserEvent works consistently between providers  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6480 [<samp>(0b4da)</samp>](vitest-dev/vitest@0b4da69e)
-   **browser**:
    -   Print correct stack trace for unhandled errors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6134 [<samp>(1da6c)</samp>](vitest-dev/vitest@1da6cebe)
    -   Use documentElement as the root for selector  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(d8077)</samp>](vitest-dev/vitest@d807767f)
    -   Keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6296 [<samp>(30dc5)</samp>](vitest-dev/vitest@30dc5793)
    -   Produce valid config file if preview provider is used  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6305 [<samp>(7f0ae)</samp>](vitest-dev/vitest@7f0ae292)
    -   Correctly run in-source tests in the browser  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6440 [<samp>(c8531)</samp>](vitest-dev/vitest@c853126e)
    -   Exclude missed packages from optimization, print help message  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6445 [<samp>(8d883)</samp>](vitest-dev/vitest@8d883cf0)
    -   Define mocker as a dependency  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6476 [<samp>(9560a)</samp>](vitest-dev/vitest@9560ab7f)
-   **coverage**:
    -   Warn if `vitest` and `@vitest/*` versions don't match  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6317 [<samp>(e662c)</samp>](vitest-dev/vitest@e662c7b2)
    -   V8 to support source maps with multiple sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6120 [<samp>(1f6cb)</samp>](vitest-dev/vitest@1f6cb59f)
    -   V8 to warn instead of crash when conversion fails  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6318 [<samp>(91dea)</samp>](vitest-dev/vitest@91dea8c1)
    -   Use project specific `vitenode` for uncovered files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6044 [<samp>(da52d)</samp>](vitest-dev/vitest@da52d23f)
-   **runner**:
    -   Use `performance.now` instead of `Date.now` for duration  -  by [@LuciNyan](https://github.com/LuciNyan) in vitest-dev/vitest#6382 [<samp>(fe489)</samp>](vitest-dev/vitest@fe489432)
    -   Async assertion auto await should timeout  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6391 [<samp>(ad6e7)</samp>](vitest-dev/vitest@ad6e72fc)
-   **snapshot**:
    -   Reject multiple `toMatchInlineSnapshot` updates at the same location  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6332 [<samp>(1606f)</samp>](vitest-dev/vitest@1606f34f)
    -   Improve inline snapshot inside loop rejection  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6339 [<samp>(e0368)</samp>](vitest-dev/vitest@e03683c5)
-   **typecheck**:
    -   Run both runtime and typecheck tests if `typecheck.include` overlaps with `include`  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6256 [<samp>(153ff)</samp>](vitest-dev/vitest@153ff01b)
-   **types**:
    -   Allow Callbacks Passed to before\*/after\* to Return Anything  -  by [@LuciNyan](https://github.com/LuciNyan) in vitest-dev/vitest#6393 [<samp>(f6217)</samp>](vitest-dev/vitest@f6217a22)
-   **ui**:
    -   Remove "filters" flickering  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6463 [<samp>(0223b)</samp>](vitest-dev/vitest@0223bb79)
    -   Render project name consistently  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6329 [<samp>(94a18)</samp>](vitest-dev/vitest@94a186ec)
-   **vite-node**:
    -   Disable watcher if hmr is disabled  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6251 [<samp>(c51c6)</samp>](vitest-dev/vitest@c51c67aa)
    -   Fix watch on vite 6  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6422 [<samp>(c3ac4)</samp>](vitest-dev/vitest@c3ac43c1)
-   **vitest**:
    -   Update json reporter output  -  by [@Emiyaaaaa](https://github.com/Emiyaaaaa) in vitest-dev/vitest#6064 [<samp>(c9979)</samp>](vitest-dev/vitest@c997937b)
    -   Add more type guards for --merge-reports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6307 [<samp>(0a5d8)</samp>](vitest-dev/vitest@0a5d8169)
    -   Always resolve vitest to the root version  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6369 [<samp>(163d7)</samp>](vitest-dev/vitest@163d7624)
    -   Dispose vmForks listeners to avoid memory leak  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6448 [<samp>(2673c)</samp>](vitest-dev/vitest@2673c3bb)
-   **workspace**:
    -   Correctly resolve workspace globs and file paths  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6316 [<samp>(afdcb)</samp>](vitest-dev/vitest@afdcb8f2)

#####     [View changes on GitHub](vitest-dev/vitest@v2.0.5...v2.1.0)
github-merge-queue bot referenced this pull request in BSStudio/bss-web-graphql-backend Sep 12, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/ui](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/ui#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/ui))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/BSStudio/bss-web-graphql-backend).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
antoinezanardi referenced this pull request in antoinezanardi/werewolves-assistant-web-next Sep 12, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-istanbul](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul))
| [`^2.0.5` ->
`^2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`^2.0.5` ->
`^2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-istanbul)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/antoinezanardi/werewolves-assistant-web-next).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to mmkal/expect-type that referenced this pull request Sep 12, 2024
##### [v2.1.0](https://github.com/vitest-dev/vitest/releases/tag/v2.1.0)

This release makes another big change to the Browser Mode by introducing [locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either [vitest-browser-vue](https://github.com/vitest-dev/vitest-browser-vue), [vitest-browser-svelte ](https://github.com/vitest-dev/vitest-browser-svelte) or [vitest-browser-react](https://github.com/vitest-dev/vitest-browser-react) to render components and make assertions using locators. Locators are also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
    -   Make spec into a class instead of a tuple  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6355 [<samp>(874a1)</samp>](vitest-dev/vitest@874a121e)
-   **browser**:
    -   Move page.config to server.config, add more docs  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6252 [<samp>(af2b8)</samp>](vitest-dev/vitest@af2b813c)
    -   Make iframe scalable, improve documentation  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6257 [<samp>(74ca1)</samp>](vitest-dev/vitest@74ca11a4)
    -   Introduce built-in locators  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6084 [<samp>(3347f)</samp>](vitest-dev/vitest@3347f83e)
    -   Support v8 coverage  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6273 [<samp>(34199)</samp>](vitest-dev/vitest@34199bdf)
    -   Support `userEvent.upload` in playwright provider  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6442 [<samp>(cf148)</samp>](vitest-dev/vitest@cf148645)
    -   Support `--inspect`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6433 [<samp>(0499a)</samp>](vitest-dev/vitest@0499a315)
    -   Support `--inspect-brk`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6434 [<samp>(7ab0f)</samp>](vitest-dev/vitest@7ab0f4a8)
-   **cli**:
    -   Extend existing list command to output only a list of file names  -  by [@Ma-hawaj](https://github.com/Ma-hawaj) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6392 [<samp>(008f0)</samp>](vitest-dev/vitest@008f00b2)
-   **coverage**:
    -   Add `--exclude-after-remap`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6309 [<samp>(5932a)</samp>](vitest-dev/vitest@5932a7f9)
-   **mocker**:
    -   Introduce [@vitest/mocker](https://github.com/vitest/mocker) package, allow `{ spy: true }` instead of a factory  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6289 [<samp>(95f02)</samp>](vitest-dev/vitest@95f0203f)
-   **vitest**:
    -   Add "provide" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6253 [<samp>(4409d)</samp>](vitest-dev/vitest@4409d779)
    -   Add return type and promisable mockFactory  -  by [@syi0808](https://github.com/syi0808) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6139 [<samp>(f5e0b)</samp>](vitest-dev/vitest@f5e0b987)
    -   Add `vi.advanceTimersToNextFrame`  -  by [@bnjm](https://github.com/bnjm) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6347 [<samp>(8ff63)</samp>](vitest-dev/vitest@8ff63560)
    -   Allow env to be stubbed to undefined  -  by [@JSanchezIO](https://github.com/JSanchezIO) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6359 [<samp>(c3b27)</samp>](vitest-dev/vitest@c3b2757c)

#####    🐞 Bug Fixes

-   Correctly resolve nested mocks with `index` file  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6266 [<samp>(081cf)</samp>](vitest-dev/vitest@081cfe03)
-   Don't panic when coverage.reporter is a string  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6267 [<samp>(7b37d)</samp>](vitest-dev/vitest@7b37d27b)
-   Align RawMatcherFn type definition with Jest  -  by [@wheresrhys](https://github.com/wheresrhys) in vitest-dev/vitest#6351 [<samp>(d09f0)</samp>](vitest-dev/vitest@d09f00c7)
-   Cjs build of vite node server  -  by [@AkaraChen](https://github.com/AkaraChen) in vitest-dev/vitest#6389 [<samp>(12e70)</samp>](vitest-dev/vitest@12e702bd)
-   Allow inlining vite's cached dependencies  -  by [@chriswheeldon-peakon](https://github.com/chriswheeldon-peakon) in vitest-dev/vitest#6284 [<samp>(03208)</samp>](vitest-dev/vitest@03208017)
-   Print unexpected error message if peer dependencies have a different version  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6446 [<samp>(b992b)</samp>](vitest-dev/vitest@b992b346)
-   Ignore importer when resolving Vitest  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6469 [<samp>(0b447)</samp>](vitest-dev/vitest@0b447226)
-   `expect.getState().testPath` always returns correct path  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6472 [<samp>(ac698)</samp>](vitest-dev/vitest@ac698b1c)
-   UserEvent works consistently between providers  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6480 [<samp>(0b4da)</samp>](vitest-dev/vitest@0b4da69e)
-   **browser**:
    -   Print correct stack trace for unhandled errors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6134 [<samp>(1da6c)</samp>](vitest-dev/vitest@1da6cebe)
    -   Use documentElement as the root for selector  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(d8077)</samp>](vitest-dev/vitest@d807767f)
    -   Keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6296 [<samp>(30dc5)</samp>](vitest-dev/vitest@30dc5793)
    -   Produce valid config file if preview provider is used  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6305 [<samp>(7f0ae)</samp>](vitest-dev/vitest@7f0ae292)
    -   Correctly run in-source tests in the browser  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6440 [<samp>(c8531)</samp>](vitest-dev/vitest@c853126e)
    -   Exclude missed packages from optimization, print help message  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6445 [<samp>(8d883)</samp>](vitest-dev/vitest@8d883cf0)
    -   Define mocker as a dependency  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6476 [<samp>(9560a)</samp>](vitest-dev/vitest@9560ab7f)
-   **coverage**:
    -   Warn if `vitest` and `@vitest/*` versions don't match  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6317 [<samp>(e662c)</samp>](vitest-dev/vitest@e662c7b2)
    -   V8 to support source maps with multiple sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6120 [<samp>(1f6cb)</samp>](vitest-dev/vitest@1f6cb59f)
    -   V8 to warn instead of crash when conversion fails  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6318 [<samp>(91dea)</samp>](vitest-dev/vitest@91dea8c1)
    -   Use project specific `vitenode` for uncovered files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#6044 [<samp>(da52d)</samp>](vitest-dev/vitest@da52d23f)
-   **runner**:
    -   Use `performance.now` instead of `Date.now` for duration  -  by [@LuciNyan](https://github.com/LuciNyan) in vitest-dev/vitest#6382 [<samp>(fe489)</samp>](vitest-dev/vitest@fe489432)
    -   Async assertion auto await should timeout  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6391 [<samp>(ad6e7)</samp>](vitest-dev/vitest@ad6e72fc)
-   **snapshot**:
    -   Reject multiple `toMatchInlineSnapshot` updates at the same location  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6332 [<samp>(1606f)</samp>](vitest-dev/vitest@1606f34f)
    -   Improve inline snapshot inside loop rejection  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6339 [<samp>(e0368)</samp>](vitest-dev/vitest@e03683c5)
-   **typecheck**:
    -   Run both runtime and typecheck tests if `typecheck.include` overlaps with `include`  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6256 [<samp>(153ff)</samp>](vitest-dev/vitest@153ff01b)
-   **types**:
    -   Allow Callbacks Passed to before\*/after\* to Return Anything  -  by [@LuciNyan](https://github.com/LuciNyan) in vitest-dev/vitest#6393 [<samp>(f6217)</samp>](vitest-dev/vitest@f6217a22)
-   **ui**:
    -   Remove "filters" flickering  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6463 [<samp>(0223b)</samp>](vitest-dev/vitest@0223bb79)
    -   Render project name consistently  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6329 [<samp>(94a18)</samp>](vitest-dev/vitest@94a186ec)
-   **vite-node**:
    -   Disable watcher if hmr is disabled  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6251 [<samp>(c51c6)</samp>](vitest-dev/vitest@c51c67aa)
    -   Fix watch on vite 6  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#6422 [<samp>(c3ac4)</samp>](vitest-dev/vitest@c3ac43c1)
-   **vitest**:
    -   Update json reporter output  -  by [@Emiyaaaaa](https://github.com/Emiyaaaaa) in vitest-dev/vitest#6064 [<samp>(c9979)</samp>](vitest-dev/vitest@c997937b)
    -   Add more type guards for --merge-reports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6307 [<samp>(0a5d8)</samp>](vitest-dev/vitest@0a5d8169)
    -   Always resolve vitest to the root version  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6369 [<samp>(163d7)</samp>](vitest-dev/vitest@163d7624)
    -   Dispose vmForks listeners to avoid memory leak  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6448 [<samp>(2673c)</samp>](vitest-dev/vitest@2673c3bb)
-   **workspace**:
    -   Correctly resolve workspace globs and file paths  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#6316 [<samp>(afdcb)</samp>](vitest-dev/vitest@afdcb8f2)

#####     [View changes on GitHub](vitest-dev/vitest@v2.0.5...v2.1.0)
renovate bot referenced this pull request in ayushmanchhabra/vsx Sep 12, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`^2.0.5` ->
`^2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`^2.0.5` ->
`^2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ayushmanchhabra/vsx).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in Johannes-Andersen/Johannes Sep 12, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Johannes-Andersen/Johannes).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Saul-Mirone referenced this pull request in toeverything/blocksuite Sep 13, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@nx/vite](https://nx.dev) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.7.2` -> `19.7.3`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.7.2/19.7.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.7.2/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.7.2/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vitest/browser](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/browser#readme) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/browser)) | [`2.0.5` -> `2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fbrowser/2.0.5/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fbrowser/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fbrowser/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fbrowser/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fbrowser/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vitest/coverage-istanbul](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`2.0.5` -> `2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vitest/ui](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`2.0.5` -> `2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/2.0.5/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | [`15.7.3` -> `15.7.4`](https://renovatebot.com/diffs/npm/happy-dom/15.7.3/15.7.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [husky](https://redirect.github.com/typicode/husky) | [`9.1.5` -> `9.1.6`](https://renovatebot.com/diffs/npm/husky/9.1.5/9.1.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/husky/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/husky/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/husky/9.1.5/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/husky/9.1.5/9.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [nx](https://nx.dev) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx)) | [`19.7.2` -> `19.7.3`](https://renovatebot.com/diffs/npm/nx/19.7.2/19.7.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx/19.7.2/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx/19.7.2/19.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [rollup](https://rollupjs.org/) ([source](https://redirect.github.com/rollup/rollup)) | [`4.21.2` -> `4.21.3`](https://renovatebot.com/diffs/npm/rollup/4.21.2/4.21.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rollup/4.21.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rollup/4.21.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rollup/4.21.2/4.21.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rollup/4.21.2/4.21.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [shiki](https://redirect.github.com/shikijs/shiki) ([source](https://redirect.github.com/shikijs/shiki/tree/HEAD/packages/shiki)) | [`1.17.0` -> `1.17.5`](https://renovatebot.com/diffs/npm/shiki/1.17.0/1.17.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/shiki/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/shiki/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/shiki/1.17.0/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/shiki/1.17.0/1.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [tsx](https://tsx.is) ([source](https://redirect.github.com/privatenumber/tsx)) | [`4.19.0` -> `4.19.1`](https://renovatebot.com/diffs/npm/tsx/4.19.0/4.19.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tsx/4.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tsx/4.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tsx/4.19.0/4.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsx/4.19.0/4.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [vitest](https://redirect.github.com/vitest-dev/vitest) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`2.0.5` -> `2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>nrwl/nx (@&#8203;nx/vite)</summary>

### [`v19.7.3`](https://redirect.github.com/nrwl/nx/releases/tag/19.7.3)

[Compare Source](https://redirect.github.com/nrwl/nx/compare/19.7.2...19.7.3)

##### 19.7.3 (2024-09-12)

##### 🚀 Features

-   **core:** import warns when source and destination directories are different ([#&#8203;27875](https://redirect.github.com/nrwl/nx/pull/27875))

##### 🩹 Fixes

-   **core:** handle sync generator failures ([#&#8203;27650](https://redirect.github.com/nrwl/nx/pull/27650))
-   **core:** handle --no-interative for create-nx-workspace ([#&#8203;27702](https://redirect.github.com/nrwl/nx/pull/27702))
-   **core:** respect filenames of inputs when computing task hash ([#&#8203;27873](https://redirect.github.com/nrwl/nx/pull/27873))
-   **core:** handleErrors should display error cause if it exists ([#&#8203;27886](https://redirect.github.com/nrwl/nx/pull/27886))
-   **gradle:** fix gradle app deps ([#&#8203;27865](https://redirect.github.com/nrwl/nx/pull/27865))
-   **js:** keep refs to ignored files and allow opting out of pruning stale refs in typescript sync generator ([#&#8203;27636](https://redirect.github.com/nrwl/nx/pull/27636))
-   **misc:** createNodesV2 plugins should show inference capabilities ([#&#8203;27896](https://redirect.github.com/nrwl/nx/pull/27896))
-   **nx-cloud:** include nxCloudId when generating connect urls ([#&#8203;27882](https://redirect.github.com/nrwl/nx/pull/27882))
-   **webpack:** handle relative paths for additionalEntryPath ([#&#8203;27885](https://redirect.github.com/nrwl/nx/pull/27885))

##### ❤️  Thank You

-   Craigory Coppola [@&#8203;AgentEnder](https://redirect.github.com/AgentEnder)
-   Emily Xiong [@&#8203;xiongemi](https://redirect.github.com/xiongemi)
-   Jack Hsu [@&#8203;jaysoo](https://redirect.github.com/jaysoo)
-   Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://redirect.github.com/leosvelperez)
-   Louie Weng [@&#8203;lourw](https://redirect.github.com/lourw)
-   Nate Jacobs [@&#8203;iAmNathanJ](https://redirect.github.com/iAmNathanJ)

</details>

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/browser)</summary>

### [`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing [locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either [vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue), [vitest-browser-svelte ](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or [vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react) to render components and make assertions using locators. Locators are also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
    -   Make spec into a class instead of a tuple  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355) [<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
    -   Move page.config to server.config, add more docs  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252) [<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
    -   Make iframe scalable, improve documentation  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257) [<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
    -   Introduce built-in locators  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084) [<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
    -   Support v8 coverage  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273) [<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
    -   Support `userEvent.upload` in playwright provider  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442) [<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
    -   Support `--inspect`  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433) [<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
    -   Support `--inspect-brk`  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434) [<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
    -   Extend existing list command to output only a list of file names  -  by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392) [<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
    -   Add `--exclude-after-remap`  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309) [<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
    -   Introduce [@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker) package, allow `{ spy: true }` instead of a factory  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289) [<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
    -   Add "provide" option  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253) [<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
    -   Add return type and promisable mockFactory  -  by [@&#8203;syi0808](https://redirect.github.com/syi0808) and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139) [<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
    -   Add `vi.advanceTimersToNextFrame`  -  by [@&#8203;bnjm](https://redirect.github.com/bnjm) and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347) [<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
    -   Allow env to be stubbed to undefined  -  by [@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359) [<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

-   Correctly resolve nested mocks with `index` file  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266) [<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
-   Don't panic when coverage.reporter is a string  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267) [<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
-   Align RawMatcherFn type definition with Jest  -  by [@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in [https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351) [<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
-   Cjs build of vite node server  -  by [@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in [https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389) [<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
-   Allow inlining vite's cached dependencies  -  by [@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon) in [https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284) [<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
-   Print unexpected error message if peer dependencies have a different version  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446) [<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
-   Ignore importer when resolving Vitest  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469) [<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
-   `expect.getState().testPath` always returns correct path  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472) [<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
-   UserEvent works consistently between providers  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480) [<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
    -   Print correct stack trace for unhandled errors  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134) [<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
    -   Use documentElement as the root for selector  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) [<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
    -   Keep querying elements even if locator is created with elementLocator, add pubic @&#8203;vitest/browser/utils  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296) [<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
    -   Produce valid config file if preview provider is used  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305) [<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
    -   Correctly run in-source tests in the browser  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440) [<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
    -   Exclude missed packages from optimization, print help message  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445) [<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
    -   Define mocker as a dependency  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476) [<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
    -   Warn if `vitest` and `@vitest/*` versions don't match  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317) [<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
    -   V8 to support source maps with multiple sources  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120) [<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
    -   V8 to warn instead of crash when conversion fails  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318) [<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
    -   Use project specific `vitenode` for uncovered files  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044) [<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
    -   Use `performance.now` instead of `Date.now` for duration  -  by [@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in [https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382) [<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
    -   Async assertion auto await should timeout  -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391) [<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
    -   Reject multiple `toMatchInlineSnapshot` updates at the same location  -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332) [<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
    -   Improve inline snapshot inside loop rejection  -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339) [<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
    -   Run both runtime and typecheck tests if `typecheck.include` overlaps with `include`  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256) [<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
    -   Allow Callbacks Passed to before\*/after\* to Return Anything  -  by [@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in [https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393) [<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
    -   Remove "filters" flickering  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463) [<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
    -   Render project name consistently  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329) [<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
    -   Disable watcher if hmr is disabled  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251) [<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
    -   Fix watch on vite 6  -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422) [<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
    -   Update json reporter output  -  by [@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in [https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064) [<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
    -   Add more type guards for --merge-reports  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307) [<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
    -   Always resolve vitest to the root version  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369) [<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
    -   Dispose vmForks listeners to avoid memory leak  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448) [<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
    -   Correctly resolve workspace globs and file paths  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316) [<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

### [`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...afd256b2e4f0260adb22432c1a354f558cda6623)

[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4)

</details>

<details>
<summary>typicode/husky (husky)</summary>

### [`v9.1.6`](https://redirect.github.com/typicode/husky/compare/v9.1.5...a2d942a670b3d6a04578005a0fd2dc310e511849)

[Compare Source](https://redirect.github.com/typicode/husky/compare/v9.1.5...v9.1.6)

</details>

<details>
<summary>rollup/rollup (rollup)</summary>

### [`v4.21.3`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4213)

[Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.21.2...v4.21.3)

*2024-09-12*

##### Bug Fixes

-   Always respect side effects in left-hand side of optional chain ([#&#8203;5642](https://redirect.github.com/rollup/rollup/issues/5642))
-   Update stack trace for augmented errors to not hide relevant information ([#&#8203;5640](https://redirect.github.com/rollup/rollup/issues/5640))

##### Pull Requests

-   [#&#8203;5636](https://redirect.github.com/rollup/rollup/pull/5636): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot])
-   [#&#8203;5637](https://redirect.github.com/rollup/rollup/pull/5637): chore(deps): lock file maintenance ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot])
-   [#&#8203;5640](https://redirect.github.com/rollup/rollup/pull/5640): fix: keep the message of stack up-to-date ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi))
-   [#&#8203;5642](https://redirect.github.com/rollup/rollup/pull/5642): fix: include left-side effect of optional chaining in the end of hasEffectsAsChainElement ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi))

</details>

<details>
<summary>shikijs/shiki (shiki)</summary>

### [`v1.17.5`](https://redirect.github.com/shikijs/shiki/releases/tag/v1.17.5)

[Compare Source](https://redirect.github.com/shikijs/shiki/compare/v1.17.4...v1.17.5)

#####    🚀 Features

-   Update grammars  -  by [@&#8203;antfu](https://redirect.github.com/antfu) [<samp>(b61e4)</samp>](https://redirect.github.com/shikijs/shiki/commit/b61e4e31)
-   **engine-js**:
    -   Supports contiguous anchor simulation  -  by [@&#8203;antfu](https://redirect.github.com/antfu) [<samp>(43ecc)</samp>](https://redirect.github.com/shikijs/shiki/commit/43ecce79)
    -   Introduce `simulation` option  -  by [@&#8203;antfu](https://redirect.github.com/antfu) [<samp>(adf99)</samp>](https://redirect.github.com/shikijs/shiki/commit/adf99f2f)

#####     [View changes on GitHub](https://redirect.github.com/shikijs/shiki/compare/v1.17.4...v1.17.5)

### [`v1.17.4`](https://redirect.github.com/shikijs/shiki/releases/tag/v1.17.4)

[Compare Source](https://redirect.github.com/shikijs/shiki/compare/v1.17.0...v1.17.4)

*No significant changes*

#####     [View changes on GitHub](https://redirect.github.com/shikijs/shiki/compare/v1.17.3...v1.17.4)

</details>

<details>
<summary>privatenumber/tsx (tsx)</summary>

### [`v4.19.1`](https://redirect.github.com/privatenumber/tsx/compare/v4.19.0...0329bfc731346d6c8b6055c7f2882e5c3155a7ec)

[Compare Source](https://redirect.github.com/privatenumber/tsx/compare/v4.19.0...v4.19.1)

</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 is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/blocksuite).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
github-merge-queue bot referenced this pull request in rustymotors/server Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`^2.0.5` ->
`^2.1.1`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

#####    🐞 Bug Fixes

-   **browser**:
- Make example test callbacks async  -  by
[@&#8203;aqandrew](https://redirect.github.com/aqandrew) in
[https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484)
[<samp>(16aa7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490)
[<samp>(5cbb0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
-   **workspace**:
- Resolve glob pattern once to avoid name collision  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489)
[<samp>(36b5a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustymotors/server).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
renovate bot referenced this pull request in JoshuaKGoldberg/notion-rich-text-to-markdown Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/notion-rich-text-to-markdown).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-merge-queue bot referenced this pull request in rustymotors/server Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`^2.0.5` ->
`^2.1.1`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

#####    🐞 Bug Fixes

-   **browser**:
- Make example test callbacks async  -  by
[@&#8203;aqandrew](https://redirect.github.com/aqandrew) in
[https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484)
[<samp>(16aa7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490)
[<samp>(5cbb0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
-   **workspace**:
- Resolve glob pattern once to avoid name collision  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489)
[<samp>(36b5a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rustymotors/server).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119-->
renovate bot referenced this pull request in JoshuaKGoldberg/console-table-without-index Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/console-table-without-index).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in JoshuaKGoldberg/get-github-auth-token Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/get-github-auth-token).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in JoshuaKGoldberg/console-fail-test Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/console-fail-test).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in JoshuaKGoldberg/text-table-fast Sep 15, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.0`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/text-table-fast).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in SebastianGoeb/chinese-chart Sep 16, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@solidjs/router](https://redirect.github.com/solidjs/solid-router) |
[`0.14.3` ->
`0.14.5`](https://renovatebot.com/diffs/npm/@solidjs%2frouter/0.14.3/0.14.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@solidjs%2frouter/0.14.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@solidjs%2frouter/0.14.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@solidjs%2frouter/0.14.3/0.14.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@solidjs%2frouter/0.14.3/0.14.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin))
| [`8.4.0` ->
`8.5.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.4.0/8.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/8.4.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/8.4.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://typescript-eslint.io/packages/parser)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser))
| [`8.4.0` ->
`8.5.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.4.0/8.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/8.4.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/8.4.0/8.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [postcss](https://postcss.org/)
([source](https://redirect.github.com/postcss/postcss)) | [`8.4.45` ->
`8.4.47`](https://renovatebot.com/diffs/npm/postcss/8.4.45/8.4.47) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/postcss/8.4.47?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/postcss/8.4.47?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/postcss/8.4.45/8.4.47?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/postcss/8.4.45/8.4.47?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tailwindcss](https://tailwindcss.com)
([source](https://redirect.github.com/tailwindlabs/tailwindcss)) |
[`3.4.10` ->
`3.4.11`](https://renovatebot.com/diffs/npm/tailwindcss/3.4.10/3.4.11) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwindcss/3.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwindcss/3.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwindcss/3.4.10/3.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwindcss/3.4.10/3.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.5.4`
-> `5.6.2`](https://renovatebot.com/diffs/npm/typescript/5.5.4/5.6.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.3` ->
`5.4.5`](https://renovatebot.com/diffs/npm/vite/5.4.3/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>solidjs/solid-router (@&#8203;solidjs/router)</summary>

###
[`v0.14.5`](https://redirect.github.com/solidjs/solid-router/blob/HEAD/CHANGELOG.md#0145)

##### Patch Changes

-
[`5c87acc`](https://redirect.github.com/solidjs/solid-router/commit/5c87acc):
fix partial matches in single flight mutations

###
[`v0.14.4`](https://redirect.github.com/solidjs/solid-router/blob/HEAD/CHANGELOG.md#0144)

##### Patch Changes

-
[`098dccb`](https://redirect.github.com/solidjs/solid-router/commit/098dccb):
fix
[#&#8203;474](https://redirect.github.com/solidjs/solid-router/issues/474)
improper search parameter resolution while routing
-
[`f8f30df`](https://redirect.github.com/solidjs/solid-router/commit/f8f30df):
fix initial state including \_depth

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v8.5.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#850-2024-09-09)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.4.0...v8.5.0)

##### 🚀 Features

- **eslint-plugin:** \[no-duplicate-type-constituents] prevent
unnecessary \`

-   **eslint-plugin:** \[no-unsafe-argument] differentiate error types

##### 🩹 Fixes

- **eslint-plugin:** \[no-unnecessary-type-assertion] fix
TSNonNullExpression fixer

-   **eslint-plugin:** \[no-misused-promises] handle static method

- **eslint-plugin:** \[no-unnecessary-type-parameters] fix AST quick
path scope analysis

- **eslint-plugin:** \[consistent-type-assertions] access parser
services lazily

##### ❤️  Thank You

-
[`f44da95`](https://redirect.github.com/typescript-eslint/typescript-eslint/commit/f44da958e)
-   Josh Goldberg ✨
-   Kirk Waiblinger
-   YeonJuan

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v8.5.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#850-2024-09-09)

[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.4.0...v8.5.0)

This was a version bump only for parser to align it with other projects,
there were no code changes.

You can read about our [versioning
strategy](https://main--typescript-eslint.netlify.app/users/versioning)
and
[releases](https://main--typescript-eslint.netlify.app/users/releases)
on our website.

</details>

<details>
<summary>postcss/postcss (postcss)</summary>

###
[`v8.4.47`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8447)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.46...8.4.47)

-   Removed debug code.

###
[`v8.4.46`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8446)

[Compare
Source](https://redirect.github.com/postcss/postcss/compare/8.4.45...8.4.46)

-   Fixed `Cannot read properties of undefined (reading 'before')`.

</details>

<details>
<summary>tailwindlabs/tailwindcss (tailwindcss)</summary>

###
[`v3.4.11`](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)

[Compare
Source](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11)

</details>

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.6.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...a7e3374f13327483fbe94e32806d65785b0b6cda)

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.5`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.5)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.4...v5.4.5)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.5/packages/vite/CHANGELOG.md)
for details.

###
[`v5.4.4`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.4)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.3...v5.4.4)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.4/packages/vite/CHANGELOG.md)
for details.

</details>

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

#####    🐞 Bug Fixes

-   **browser**:
- Make example test callbacks async  -  by
[@&#8203;aqandrew](https://redirect.github.com/aqandrew) in
[https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484)
[<samp>(16aa7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490)
[<samp>(5cbb0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
-   **workspace**:
- Resolve glob pattern once to avoid name collision  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489)
[<samp>(36b5a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
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://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/SebastianGoeb/chinese-chart).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in slipmatio/logger Sep 16, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://redirect.github.com/microsoft/playwright)) | [`1.47.0`
->
`1.47.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.47.0/1.47.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.47.0/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.47.0/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom) |
[`15.7.3` ->
`15.7.4`](https://renovatebot.com/diffs/npm/happy-dom/15.7.3/15.7.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.5.4`
-> `5.6.2`](https://renovatebot.com/diffs/npm/typescript/5.5.4/5.6.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.3` ->
`5.4.5`](https://renovatebot.com/diffs/npm/vite/5.4.3/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite-plugin-dts](https://redirect.github.com/qmhc/vite-plugin-dts) |
[`4.1.1` ->
`4.2.1`](https://renovatebot.com/diffs/npm/vite-plugin-dts/4.1.1/4.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[vue](https://redirect.github.com/vuejs/core/tree/main/packages/vue#readme)
([source](https://redirect.github.com/vuejs/core)) | [`3.5.3` ->
`3.5.5`](https://renovatebot.com/diffs/npm/vue/3.5.3/3.5.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.5.3/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.5.3/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.47.1`](https://redirect.github.com/microsoft/playwright/compare/v1.47.0...3d2ffd0fe97f23f480092054da5928539a3c5beb)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.47.0...v1.47.1)

</details>

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

#####    🐞 Bug Fixes

-   **browser**:
- Make example test callbacks async  -  by
[@&#8203;aqandrew](https://redirect.github.com/aqandrew) in
[https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484)
[<samp>(16aa7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490)
[<samp>(5cbb0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
-   **workspace**:
- Resolve glob pattern once to avoid name collision  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489)
[<samp>(36b5a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.4)

[Compare
Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4)

##### 👷‍♂️ Patch fixes

- Fixes incorrect handling of non-node items inserted using
`replaceWith()`, `before()` and `after()` - By
**[@&#8203;BenjaminAster](https://redirect.github.com/BenjaminAster)**
in task
[#&#8203;1533](https://redirect.github.com/capricorn86/happy-dom/issues/1533)

</details>

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.6.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...a7e3374f13327483fbe94e32806d65785b0b6cda)

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.5`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.5)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.4...v5.4.5)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.5/packages/vite/CHANGELOG.md)
for details.

###
[`v5.4.4`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.4)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.3...v5.4.4)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.4/packages/vite/CHANGELOG.md)
for details.

</details>

<details>
<summary>qmhc/vite-plugin-dts (vite-plugin-dts)</summary>

###
[`v4.2.1`](https://redirect.github.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#421-2024-09-08)

[Compare
Source](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.2.0...v4.2.1)

##### Bug Fixes

- remove api-extractor patch
([770d5b1](https://redirect.github.com/qmhc/vite-plugin-dts/commit/770d5b175c8512a0472bceacf10ba425a9ffb2ae))

###
[`v4.2.0`](https://redirect.github.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#420-2024-09-08)

[Compare
Source](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.1.1...v4.2.0)

##### Features

- upgrade vue language tools to v2.1
([#&#8203;382](https://redirect.github.com/qmhc/vite-plugin-dts/issues/382))
([b76fe5e](https://redirect.github.com/qmhc/vite-plugin-dts/commit/b76fe5e9f116d6e4397187b1d037ceea6394edf7))

####
[4.1.1](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.1.0...v4.1.1)
(2024-09-06)

##### Bug Fixes

- correct resolve Vue when create program
([0621332](https://redirect.github.com/qmhc/vite-plugin-dts/commit/0621332f46606b20365f1b2efdd45ef826e32186)),
closes
[#&#8203;380](https://redirect.github.com/qmhc/vite-plugin-dts/issues/380)

</details>

<details>
<summary>vuejs/core (vue)</summary>

###
[`v3.5.5`](https://redirect.github.com/vuejs/core/blob/HEAD/CHANGELOG.md#355-2024-09-13)

[Compare
Source](https://redirect.github.com/vuejs/core/compare/v3.5.4...v3.5.5)

##### Bug Fixes

- **compiler-core:** fix handling of delimiterOpen in VPre
([#&#8203;11915](https://redirect.github.com/vuejs/core/issues/11915))
([706d4ac](https://redirect.github.com/vuejs/core/commit/706d4ac1d0210b2d9134b3228280187fe02fc971)),
closes
[#&#8203;11913](https://redirect.github.com/vuejs/core/issues/11913)
- **compiler-dom:** fix stringify static edge for partially eligible
chunks in cached parent
([1d99d61](https://redirect.github.com/vuejs/core/commit/1d99d61c1bd77f9ea6743f6214a82add8346a121)),
closes
[#&#8203;11879](https://redirect.github.com/vuejs/core/issues/11879)
[#&#8203;11890](https://redirect.github.com/vuejs/core/issues/11890)
- **compiler-dom:** should ignore leading newline in <textarea> per spec
([3c4bf76](https://redirect.github.com/vuejs/core/commit/3c4bf7627649ec1e3220f8c4e4163c20d2afb367))
- **compiler-sfc:** nested css supports atrule and comment
([#&#8203;11899](https://redirect.github.com/vuejs/core/issues/11899))
([0e7bc71](https://redirect.github.com/vuejs/core/commit/0e7bc717e6640644f062957ec5031506f0dab215)),
closes
[#&#8203;11896](https://redirect.github.com/vuejs/core/issues/11896)
- **custom-element:** handle nested customElement mount w/ shadowRoot
false
([#&#8203;11861](https://redirect.github.com/vuejs/core/issues/11861))
([f2d8019](https://redirect.github.com/vuejs/core/commit/f2d801918841e7673ff3f048d0d895592a2f7e23)),
closes
[#&#8203;11851](https://redirect.github.com/vuejs/core/issues/11851)
[#&#8203;11871](https://redirect.github.com/vuejs/core/issues/11871)
- **hmr:** reload async child wrapped in Suspense + KeepAlive
([#&#8203;11907](https://redirect.github.com/vuejs/core/issues/11907))
([10a2c60](https://redirect.github.com/vuejs/core/commit/10a2c6053bd30d160d0214bb3566f540187e6874)),
closes
[#&#8203;11868](https://redirect.github.com/vuejs/core/issues/11868)
- **hydration:** fix mismatch of leading newline in <textarea> and <pre>
([a5f3c2e](https://redirect.github.com/vuejs/core/commit/a5f3c2eb4d2e7fae93ff93ce865b269f01cc825e)),
closes
[#&#8203;11873](https://redirect.github.com/vuejs/core/issues/11873)
[#&#8203;11874](https://redirect.github.com/vuejs/core/issues/11874)
- **reactivity:** properly clean up deps, fix memory leak
([8ea5d6d](https://redirect.github.com/vuejs/core/commit/8ea5d6d6981ab7febda0be43c3c92b18869c3a2a)),
closes
[#&#8203;11901](https://redirect.github.com/vuejs/core/issues/11901)
- **runtime-core:** properly update async component nested in KeepAlive
([#&#8203;11917](https://redirect.github.com/vuejs/core/issues/11917))
([7fe6c79](https://redirect.github.com/vuejs/core/commit/7fe6c795a1fc7ddcea5ad91a56141561192373ac)),
closes
[#&#8203;11916](https://redirect.github.com/vuejs/core/issues/11916)
- **TransitionGroup:** not warn unkeyed text children with whitespece
preserve
([#&#8203;11888](https://redirect.github.com/vuejs/core/issues/11888))
([7571f20](https://redirect.github.com/vuejs/core/commit/7571f20bc3d1854377a146f41d211e05bb68cd47)),
closes
[#&#8203;11885](https://redirect.github.com/vuejs/core/issues/11885)

###
[`v3.5.4`](https://redirect.github.com/vuejs/core/blob/HEAD/CHANGELOG.md#354-2024-09-10)

[Compare
Source](https://redirect.github.com/vuejs/core/compare/v3.5.3...v3.5.4)

##### Bug Fixes

- **compiler-sfc:** correct scoped injection for nesting selector
([#&#8203;11854](https://redirect.github.com/vuejs/core/issues/11854))
([b1de75e](https://redirect.github.com/vuejs/core/commit/b1de75ed04626b6423085dfde91fb0cb481a25e8)),
closes
[#&#8203;10567](https://redirect.github.com/vuejs/core/issues/10567)
- **reactivity:** fix markRaw error on already marked object
([#&#8203;11864](https://redirect.github.com/vuejs/core/issues/11864))
([67d6596](https://redirect.github.com/vuejs/core/commit/67d6596d40b1807b9cd8eb0d9282932ea77be3c0)),
closes
[#&#8203;11862](https://redirect.github.com/vuejs/core/issues/11862)
- Revert "fix: Revert "fix(reactivity): self-referencing computed should
refresh""
([e596378](https://redirect.github.com/vuejs/core/commit/e596378e0be728dad7d60938449f3fa557ca2ec9))
- **runtime-core:** handle shallow reactive arrays in renderList
correctly
([#&#8203;11870](https://redirect.github.com/vuejs/core/issues/11870))
([ced59ab](https://redirect.github.com/vuejs/core/commit/ced59ab8f2f2e89c13119bab3a0c25a1a1f1c3d6)),
closes
[#&#8203;11869](https://redirect.github.com/vuejs/core/issues/11869)
- **types:** correctly infer `TypeEmits` with both tuple and function
syntax
([#&#8203;11840](https://redirect.github.com/vuejs/core/issues/11840))
([dad6738](https://redirect.github.com/vuejs/core/commit/dad673809929c084dcb8e42640eb7daa675d4ea4)),
closes
[#&#8203;11836](https://redirect.github.com/vuejs/core/issues/11836)

##### Performance Improvements

- **reactivity:** trigger deps directly instead of storing in an array
first
([#&#8203;11695](https://redirect.github.com/vuejs/core/issues/11695))
([f80d447](https://redirect.github.com/vuejs/core/commit/f80d447c17662556e9e3f99f6d199967f4c8cf3d))

</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 is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/slipmatio/logger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in slipmatio/toolbelt Sep 16, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://redirect.github.com/microsoft/playwright)) | [`1.47.0`
->
`1.47.1`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.47.0/1.47.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2ftest/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@playwright%2ftest/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@playwright%2ftest/1.47.0/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2ftest/1.47.0/1.47.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom) |
[`15.7.3` ->
`15.7.4`](https://renovatebot.com/diffs/npm/happy-dom/15.7.3/15.7.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/15.7.3/15.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.5.4`
-> `5.6.2`](https://renovatebot.com/diffs/npm/typescript/5.5.4/5.6.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.5.4/5.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.3` ->
`5.4.5`](https://renovatebot.com/diffs/npm/vite/5.4.3/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.3/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite-plugin-dts](https://redirect.github.com/qmhc/vite-plugin-dts) |
[`4.1.1` ->
`4.2.1`](https://renovatebot.com/diffs/npm/vite-plugin-dts/4.1.1/4.2.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-dts/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-dts/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-dts/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-dts/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://redirect.github.com/vitest-dev/vitest)
([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`2.0.5` ->
`2.1.1`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[vue](https://redirect.github.com/vuejs/core/tree/main/packages/vue#readme)
([source](https://redirect.github.com/vuejs/core)) | [`3.5.3` ->
`3.5.5`](https://renovatebot.com/diffs/npm/vue/3.5.3/3.5.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.5.3/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.5.3/3.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vue-router](https://redirect.github.com/vuejs/router) | [`4.4.3` ->
`4.4.5`](https://renovatebot.com/diffs/npm/vue-router/4.4.3/4.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue-router/4.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-router/4.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-router/4.4.3/4.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-router/4.4.3/4.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>microsoft/playwright (@&#8203;playwright/test)</summary>

###
[`v1.47.1`](https://redirect.github.com/microsoft/playwright/compare/v1.47.0...3d2ffd0fe97f23f480092054da5928539a3c5beb)

[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.47.0...v1.47.1)

</details>

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

###
[`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

#####    🐞 Bug Fixes

-   **browser**:
- Make example test callbacks async  -  by
[@&#8203;aqandrew](https://redirect.github.com/aqandrew) in
[https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484)
[<samp>(16aa7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490)
[<samp>(5cbb0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
-   **workspace**:
- Resolve glob pattern once to avoid name collision  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489)
[<samp>(36b5a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)

###
[`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

This release makes another big change to the Browser Mode by introducing
[locators API](https://vitest.dev/guide/browser/locators.html):

```ts
test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```

You can use either
[vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue),
[vitest-browser-svelte
](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or
[vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react)
to render components and make assertions using locators. Locators are
also available on the `page` object from `@vitest/browser/context`.

#####    🚀 Features

-   **api**:
- Make spec into a class instead of a tuple  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355)
[<samp>(874a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
-   **browser**:
- Move page.config to server.config, add more docs  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252)
[<samp>(af2b8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257)
[<samp>(74ca1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084)
[<samp>(3347f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273)
[<samp>(34199)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442)
[<samp>(cf148)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433)
[<samp>(0499a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434)
[<samp>(7ab0f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
-   **cli**:
- Extend existing list command to output only a list of file names  - 
by [@&#8203;Ma-hawaj](https://redirect.github.com/Ma-hawaj) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392)
[<samp>(008f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
-   **coverage**:
- Add `--exclude-after-remap`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309)
[<samp>(5932a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
-   **mocker**:
- Introduce
[@&#8203;vitest/mocker](https://redirect.github.com/vitest/mocker)
package, allow `{ spy: true }` instead of a factory  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289)
[<samp>(95f02)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
-   **vitest**:
- Add "provide" option  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253)
[<samp>(4409d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory  -  by
[@&#8203;syi0808](https://redirect.github.com/syi0808) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139)
[<samp>(f5e0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame`  -  by
[@&#8203;bnjm](https://redirect.github.com/bnjm) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347)
[<samp>(8ff63)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined  -  by
[@&#8203;JSanchezIO](https://redirect.github.com/JSanchezIO) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359)
[<samp>(c3b27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)

#####    🐞 Bug Fixes

- Correctly resolve nested mocks with `index` file  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266)
[<samp>(081cf)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267)
[<samp>(7b37d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest  -  by
[@&#8203;wheresrhys](https://redirect.github.com/wheresrhys) in
[https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351)
[<samp>(d09f0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server  -  by
[@&#8203;AkaraChen](https://redirect.github.com/AkaraChen) in
[https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389)
[<samp>(12e70)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies  -  by
[@&#8203;chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon)
in
[https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284)
[<samp>(03208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different
version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446)
[<samp>(b992b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469)
[<samp>(0b447)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472)
[<samp>(ac698)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480)
[<samp>(0b4da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
-   **browser**:
- Print correct stack trace for unhandled errors  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134)
[<samp>(1da6c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(d8077)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator,
add pubic @&#8203;vitest/browser/utils  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296)
[<samp>(30dc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305)
[<samp>(7f0ae)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440)
[<samp>(c8531)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445)
[<samp>(8d883)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476)
[<samp>(9560a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
-   **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317)
[<samp>(e662c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120)
[<samp>(1f6cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318)
[<samp>(91dea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044)
[<samp>(da52d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
-   **runner**:
- Use `performance.now` instead of `Date.now` for duration  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382)
[<samp>(fe489)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391)
[<samp>(ad6e7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
-   **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332)
[<samp>(1606f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339)
[<samp>(e0368)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
-   **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps
with `include`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256)
[<samp>(153ff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
-   **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything  -  by
[@&#8203;LuciNyan](https://redirect.github.com/LuciNyan) in
[https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393)
[<samp>(f6217)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
-   **ui**:
- Remove "filters" flickering  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463)
[<samp>(0223b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329)
[<samp>(94a18)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
-   **vite-node**:
- Disable watcher if hmr is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251)
[<samp>(c51c6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422)
[<samp>(c3ac4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
-   **vitest**:
- Update json reporter output  -  by
[@&#8203;Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in
[https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064)
[<samp>(c9979)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307)
[<samp>(0a5d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369)
[<samp>(163d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448)
[<samp>(2673c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
-   **workspace**:
- Correctly resolve workspace globs and file paths  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316)
[<samp>(afdcb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.4)

[Compare
Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4)

##### 👷‍♂️ Patch fixes

- Fixes incorrect handling of non-node items inserted using
`replaceWith()`, `before()` and `after()` - By
**[@&#8203;BenjaminAster](https://redirect.github.com/BenjaminAster)**
in task
[#&#8203;1533](https://redirect.github.com/capricorn86/happy-dom/issues/1533)

</details>

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.6.2`](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...a7e3374f13327483fbe94e32806d65785b0b6cda)

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.5`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.5)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.4...v5.4.5)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.5/packages/vite/CHANGELOG.md)
for details.

###
[`v5.4.4`](https://redirect.github.com/vitejs/vite/releases/tag/v5.4.4)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.3...v5.4.4)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vitejs/vite/blob/v5.4.4/packages/vite/CHANGELOG.md)
for details.

</details>

<details>
<summary>qmhc/vite-plugin-dts (vite-plugin-dts)</summary>

###
[`v4.2.1`](https://redirect.github.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#421-2024-09-08)

[Compare
Source](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.2.0...v4.2.1)

##### Bug Fixes

- remove api-extractor patch
([770d5b1](https://redirect.github.com/qmhc/vite-plugin-dts/commit/770d5b175c8512a0472bceacf10ba425a9ffb2ae))

###
[`v4.2.0`](https://redirect.github.com/qmhc/vite-plugin-dts/blob/HEAD/CHANGELOG.md#420-2024-09-08)

[Compare
Source](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.1.1...v4.2.0)

##### Features

- upgrade vue language tools to v2.1
([#&#8203;382](https://redirect.github.com/qmhc/vite-plugin-dts/issues/382))
([b76fe5e](https://redirect.github.com/qmhc/vite-plugin-dts/commit/b76fe5e9f116d6e4397187b1d037ceea6394edf7))

####
[4.1.1](https://redirect.github.com/qmhc/vite-plugin-dts/compare/v4.1.0...v4.1.1)
(2024-09-06)

##### Bug Fixes

- correct resolve Vue when create program
([0621332](https://redirect.github.com/qmhc/vite-plugin-dts/commit/0621332f46606b20365f1b2efdd45ef826e32186)),
closes
[#&#8203;380](https://redirect.github.com/qmhc/vite-plugin-dts/issues/380)

</details>

<details>
<summary>vuejs/core (vue)</summary>

###
[`v3.5.5`](https://redirect.github.com/vuejs/core/blob/HEAD/CHANGELOG.md#355-2024-09-13)

[Compare
Source](https://redirect.github.com/vuejs/core/compare/v3.5.4...v3.5.5)

##### Bug Fixes

- **compiler-core:** fix handling of delimiterOpen in VPre
([#&#8203;11915](https://redirect.github.com/vuejs/core/issues/11915))
([706d4ac](https://redirect.github.com/vuejs/core/commit/706d4ac1d0210b2d9134b3228280187fe02fc971)),
closes
[#&#8203;11913](https://redirect.github.com/vuejs/core/issues/11913)
- **compiler-dom:** fix stringify static edge for partially eligible
chunks in cached parent
([1d99d61](https://redirect.github.com/vuejs/core/commit/1d99d61c1bd77f9ea6743f6214a82add8346a121)),
closes
[#&#8203;11879](https://redirect.github.com/vuejs/core/issues/11879)
[#&#8203;11890](https://redirect.github.com/vuejs/core/issues/11890)
- **compiler-dom:** should ignore leading newline in <textarea> per spec
([3c4bf76](https://redirect.github.com/vuejs/core/commit/3c4bf7627649ec1e3220f8c4e4163c20d2afb367))
- **compiler-sfc:** nested css supports atrule and comment
([#&#8203;11899](https://redirect.github.com/vuejs/core/issues/11899))
([0e7bc71](https://redirect.github.com/vuejs/core/commit/0e7bc717e6640644f062957ec5031506f0dab215)),
closes
[#&#8203;11896](https://redirect.github.com/vuejs/core/issues/11896)
- **custom-element:** handle nested customElement mount w/ shadowRoot
false
([#&#8203;11861](https://redirect.github.com/vuejs/core/issues/11861))
([f2d8019](https://redirect.github.com/vuejs/core/commit/f2d801918841e7673ff3f048d0d895592a2f7e23)),
closes
[#&#8203;11851](https://redirect.github.com/vuejs/core/issues/11851)
[#&#8203;11871](https://redirect.github.com/vuejs/core/issues/11871)
- **hmr:** reload async child wrapped in Suspense + KeepAlive
([#&#8203;11907](https://redirect.github.com/vuejs/core/issues/11907))
([10a2c60](https://redirect.github.com/vuejs/core/commit/10a2c6053bd30d160d0214bb3566f540187e6874)),
closes
[#&#8203;11868](https://redirect.github.com/vuejs/core/issues/11868)
- **hydration:** fix mismatch of leading newline in <textarea> and <pre>
([a5f3c2e](https://redirect.github.com/vuejs/core/commit/a5f3c2eb4d2e7fae93ff93ce865b269f01cc825e)),
closes
[#&#8203;11873](https://redirect.github.com/vuejs/core/issues/11873)
[#&#8203;11874](https://redirect.github.com/vuejs/core/issues/11874)
- **reactivity:** properly clean up deps, fix memory leak
([8ea5d6d](https://redirect.github.com/vuejs/core/commit/8ea5d6d6981ab7febda0be43c3c92b18869c3a2a)),
closes
[#&#8203;11901](https://redirect.github.com/vuejs/core/issues/11901)
- **runtime-core:** properly update async component nested in KeepAlive
([#&#8203;11917](https://redirect.github.com/vuejs/core/issues/11917))
([7fe6c79](https://redirect.github.com/vuejs/core/commit/7fe6c795a1fc7ddcea5ad91a56141561192373ac)),
closes
[#&#8203;11916](https://redirect.github.com/vuejs/core/issues/11916)
- **TransitionGroup:** not warn unkeyed text children with whitespece
preserve
([#&#8203;11888](https://redirect.github.com/vuejs/core/issues/11888))
([7571f20](https://redirect.github.com/vuejs/core/commit/7571f20bc3d1854377a146f41d211e05bb68cd47)),
closes
[#&#8203;11885](https://redirect.github.com/vuejs/core/issues/11885)

###
[`v3.5.4`](https://redirect.github.com/vuejs/core/blob/HEAD/CHANGELOG.md#354-2024-09-10)

[Compare
Source](https://redirect.github.com/vuejs/core/compare/v3.5.3...v3.5.4)

##### Bug Fixes

- **compiler-sfc:** correct scoped injection for nesting selector
([#&#8203;11854](https://redirect.github.com/vuejs/core/issues/11854))
([b1de75e](https://redirect.github.com/vuejs/core/commit/b1de75ed04626b6423085dfde91fb0cb481a25e8)),
closes
[#&#8203;10567](https://redirect.github.com/vuejs/core/issues/10567)
- **reactivity:** fix markRaw error on already marked object
([#&#8203;11864](https://redirect.github.com/vuejs/core/issues/11864))
([67d6596](https://redirect.github.com/vuejs/core/commit/67d6596d40b1807b9cd8eb0d9282932ea77be3c0)),
closes
[#&#8203;11862](https://redirect.github.com/vuejs/core/issues/11862)
- Revert "fix: Revert "fix(reactivity): self-referencing computed should
refresh""
([e596378](https://redirect.github.com/vuejs/core/commit/e596378e0be728dad7d60938449f3fa557ca2ec9))
- **runtime-core:** handle shallow reactive arrays in renderList
correctly
([#&#8203;11870](https://redirect.github.com/vuejs/core/issues/11870))
([ced59ab](https://redirect.github.com/vuejs/core/commit/ced59ab8f2f2e89c13119bab3a0c25a1a1f1c3d6)),
closes
[#&#8203;11869](https://redirect.github.com/vuejs/core/issues/11869)
- **types:** correctly infer `TypeEmits` with both tuple and function
syntax
([#&#8203;11840](https://redirect.github.com/vuejs/core/issues/11840))
([dad6738](https://redirect.github.com/vuejs/core/commit/dad673809929c084dcb8e42640eb7daa675d4ea4)),
closes
[#&#8203;11836](https://redirect.github.com/vuejs/core/issues/11836)

##### Performance Improvements

- **reactivity:** trigger deps directly instead of storing in an array
first
([#&#8203;11695](https://redirect.github.com/vuejs/core/issues/11695))
([f80d447](https://redirect.github.com/vuejs/core/commit/f80d447c17662556e9e3f99f6d199967f4c8cf3d))

</details>

<details>
<summary>vuejs/router (vue-router)</summary>

###
[`v4.4.5`](https://redirect.github.com/vuejs/router/releases/tag/v4.4.5)

[Compare
Source](https://redirect.github.com/vuejs/router/compare/v4.4.4...v4.4.5)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md)
for details.

###
[`v4.4.4`](https://redirect.github.com/vuejs/router/releases/tag/v4.4.4)

[Compare
Source](https://redirect.github.com/vuejs/router/compare/v4.4.3...v4.4.4)

Please refer to
[CHANGELOG.md](https://redirect.github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md)
for details.

</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 is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/slipmatio/toolbelt).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant