Skip to content

Commit

Permalink
chore(deps): update vitest (#2542)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | 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.2`](https://renovatebot.com/diffs/npm/vitest/2.0.5/2.1.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.5/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.5/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| vitest-environment-nuxt | [`1.0.0` ->
`1.0.1`](https://renovatebot.com/diffs/npm/vitest-environment-nuxt/1.0.0/1.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest-environment-nuxt/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest-environment-nuxt/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest-environment-nuxt/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest-environment-nuxt/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[vitest-mock-extended](https://redirect.github.com/eratio08/vitest-mock-extended)
| [`2.0.0` ->
`2.0.2`](https://renovatebot.com/diffs/npm/vitest-mock-extended/2.0.0/2.0.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest-mock-extended/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest-mock-extended/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest-mock-extended/2.0.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest-mock-extended/2.0.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- Move `Vitest.setServer` to post `configureServer` hook to enable
import analysis for workspace config loading  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6584](https://redirect.github.com/vitest-dev/vitest/issues/6584)
[<samp>(e7f35)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e7f35214)
-   **benchmark**:
- Clear `BenchmarkResult.samples` array to reduce memory usage  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6541](https://redirect.github.com/vitest-dev/vitest/issues/6541)
[<samp>(a6407)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a6407afc)
-   **browser**:
- Fix dynamic import inside worker  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6569](https://redirect.github.com/vitest-dev/vitest/issues/6569)
[<samp>(ea2d4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ea2d429b)
- Fix browser mock factory event race condition  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6530](https://redirect.github.com/vitest-dev/vitest/issues/6530)
[<samp>(f131f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f131f93b)
- Serve ui assets as static  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6564](https://redirect.github.com/vitest-dev/vitest/issues/6564)
[<samp>(adcda)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/adcdaee8)
- Update solidjs testing library lib  -  by
[@&#8203;CamilleTeruel](https://redirect.github.com/CamilleTeruel) in
[https://github.com/vitest-dev/vitest/issues/6548](https://redirect.github.com/vitest-dev/vitest/issues/6548)
[<samp>(91442)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91442dfc)
- Use `data:` protocol on preview provider file upload  -  by
[@&#8203;userquin](https://redirect.github.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/6501](https://redirect.github.com/vitest-dev/vitest/issues/6501)
[<samp>(e9821)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e9821f70)
- Fix base for client script  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6510](https://redirect.github.com/vitest-dev/vitest/issues/6510)
[<samp>(f9528)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f952874e)
- Throw an error if "@&#8203;vitest/browser/context" is imported outside
of the browser mode  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6570](https://redirect.github.com/vitest-dev/vitest/issues/6570)
[<samp>(383f1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/383f1791)
-   **coverage**:
- Remove empty coverage folder on test failure too  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6547](https://redirect.github.com/vitest-dev/vitest/issues/6547)
[<samp>(1371c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1371ca6a)
- Include `*.astro` by default  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6565](https://redirect.github.com/vitest-dev/vitest/issues/6565)
[<samp>(f8ff7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f8ff76a9)
- `cleanOnRerun: false` to invalidate previous results  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/6592](https://redirect.github.com/vitest-dev/vitest/issues/6592)
[<samp>(88bde)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/88bde99c)
-   **expect**:
- Fix `toBeDefined` with `expect.poll`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6562](https://redirect.github.com/vitest-dev/vitest/issues/6562)
[<samp>(f7da6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f7da6199)
-   **runner**:
- Mark tests as skipped when `beforeAll` failed  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6524](https://redirect.github.com/vitest-dev/vitest/issues/6524)
[<samp>(fb797)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fb79792d)
- Support fixture parsing of lowered async syntax  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6531](https://redirect.github.com/vitest-dev/vitest/issues/6531)
[<samp>(b553c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b553c7d6)
- Fix fixture parsing of lowered async syntax for non arrow functions
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6575](https://redirect.github.com/vitest-dev/vitest/issues/6575)
[<samp>(3de00)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3de00ab6)
- Guard test hook callback  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6604](https://redirect.github.com/vitest-dev/vitest/issues/6604)
[<samp>(14971)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1497134e)
- Run `onTestFinished` and `onTestFailed` during `retry` and `repeats`
 -  by [@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6609](https://redirect.github.com/vitest-dev/vitest/issues/6609)
[<samp>(c5e29)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c5e29098)
-   **ui**:
- List tests on ui when `--standalone`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6577](https://redirect.github.com/vitest-dev/vitest/issues/6577)
[<samp>(d0bf8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d0bf89d3)
-   **vite-node**:
- Fix esm false-detection inside comment  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6506](https://redirect.github.com/vitest-dev/vitest/issues/6506)
[<samp>(91f85)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91f85997)
-   **vitest**:
- Install dependencies with the same version when prompted  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6611](https://redirect.github.com/vitest-dev/vitest/issues/6611)
[<samp>(ed8b7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ed8b7c08)
- Make env.SSR consistent between different pools  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6616](https://redirect.github.com/vitest-dev/vitest/issues/6616)
[<samp>(8a8d3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8a8d3f03)
- Don't start a websocket server if api is disabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6617](https://redirect.github.com/vitest-dev/vitest/issues/6617)
[<samp>(82140)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/821400b8)
-   **workspace**:
- Fix glob pattern detection  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/6502](https://redirect.github.com/vitest-dev/vitest/issues/6502)
[<samp>(7727c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7727ca87)
- Ignore DS_Store by default  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/6571](https://redirect.github.com/vitest-dev/vitest/issues/6571)
[<samp>(d2a86)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d2a86ff5)

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

###
[`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>eratio08/vitest-mock-extended (vitest-mock-extended)</summary>

###
[`v2.0.2`](https://redirect.github.com/eratio08/vitest-mock-extended/releases/tag/v2.0.2)

[Compare
Source](https://redirect.github.com/eratio08/vitest-mock-extended/compare/v2.0.1...v2.0.2)

##### Bug Fixes

- **bundling:** Re-add the "." in exports
([#&#8203;553](https://redirect.github.com/eratio08/vitest-mock-extended/issues/553))
([06cc37b](https://redirect.github.com/eratio08/vitest-mock-extended/commit/06cc37b68721bdf387ed3d1d58f258eac096ef59))

###
[`v2.0.1`](https://redirect.github.com/eratio08/vitest-mock-extended/releases/tag/v2.0.1)

[Compare
Source](https://redirect.github.com/eratio08/vitest-mock-extended/compare/v2.0.0...v2.0.1)

##### Bug Fixes

- **bundling:** Add missing type field to resolve
[#&#8203;546](https://redirect.github.com/eratio08/vitest-mock-extended/issues/546)
([#&#8203;552](https://redirect.github.com/eratio08/vitest-mock-extended/issues/552))
([e022a8c](https://redirect.github.com/eratio08/vitest-mock-extended/commit/e022a8c7d814e2f0d35f0c9971c6351c8d7c1d44))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on the 2nd through 5th day of the
month" (UTC), 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/JabRef/JabRefOnline).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 3, 2024
1 parent 678f052 commit abbead6
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 68 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@
"ufo": "1.5.4",
"unplugin-vue-components": "0.27.4",
"vite": "5.4.0",
"vitest": "2.0.5",
"vitest-environment-nuxt": "1.0.0",
"vitest": "2.1.2",
"vitest-environment-nuxt": "1.0.1",
"vitest-github-actions-reporter": "0.11.1",
"vitest-mock-extended": "2.0.0",
"vitest-mock-extended": "2.0.2",
"vue-tsc": "2.1.6"
},
"prisma": {
Expand Down
177 changes: 112 additions & 65 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit abbead6

Please sign in to comment.