Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v3 (#749)
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))
| [`^1.2.1` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/vitest/1.6.0/3.0.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.6.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.6.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v3.0.0...v3.0.1)

#####    🐞 Bug Fixes

- Revert "fix: re-apply default conditions if using vite 6 or later
([/~https://github.com/vitest-dev/vitest/issues/7071](https://redirect.github.com/vitest-dev/vitest/issues/7071))"
 -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7071](https://redirect.github.com/vitest-dev/vitest/issues/7071)
and
[/~https://github.com/vitest-dev/vitest/issues/7271](https://redirect.github.com/vitest-dev/vitest/issues/7271)
[<samp>(755ec)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/755ecdfa)
- **deps**: Update all non-major dependencies  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7147](https://redirect.github.com/vitest-dev/vitest/issues/7147)
[<samp>(537fa)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/537fa5ed)

#####     [View changes on
GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v3.0.0...v3.0.1)

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

[Compare
Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.8...v3.0.0)

#####    🚨 Breaking Changes

- `spy.mockReset` changes  -  by
[@&#8203;Lordfirespeed](https://redirect.github.com/Lordfirespeed) in
[/~https://github.com/vitest-dev/vitest/issues/6426](https://redirect.github.com/vitest-dev/vitest/issues/6426)
[<samp>(db7a8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/db7a8888)
- Pass down context to test hooks  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7034](https://redirect.github.com/vitest-dev/vitest/issues/7034)
[<samp>(82c2e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/82c2e244)
- Support Vite 6  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7026](https://redirect.github.com/vitest-dev/vitest/issues/7026)
[<samp>(7abe8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7abe854c)
- **coverage**: Always exclude test files  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7254](https://redirect.github.com/vitest-dev/vitest/issues/7254)
[<samp>(b5268)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b5268965)
- **deps**: Update fake-timers to v14.0.0  -  by
[@&#8203;xxzefgh](https://redirect.github.com/xxzefgh) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7097](https://redirect.github.com/vitest-dev/vitest/issues/7097)
[<samp>(c98b4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c98b4b1c)
- **expect**: Check more properties for error equality  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/5876](https://redirect.github.com/vitest-dev/vitest/issues/5876)
[<samp>(10023)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/100230e9)
- **runner**: Support `describe(..., { shuffle: boolean })` and inherit
from parent suite  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6670](https://redirect.github.com/vitest-dev/vitest/issues/6670)
[<samp>(aa1da)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/aa1dac3d)
- **snapshot**: Reset snapshot state for `retry` and `repeats`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6817](https://redirect.github.com/vitest-dev/vitest/issues/6817)
[<samp>(e8ce9)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e8ce94cf)
- **spy**: SpyOn reuses mock if method is already spyed on  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6464](https://redirect.github.com/vitest-dev/vitest/issues/6464)
[<samp>(b3e43)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b3e43d04)
- **vitest**: Don't expose default toFake config  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6288](https://redirect.github.com/vitest-dev/vitest/issues/6288)
[<samp>(e3144)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e3144fd8)

#####    🚀 Features

- Support inline `diff` options and support `printBasicPrototype`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa),
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
**Michał Grzegorzewski** in
[/~https://github.com/vitest-dev/vitest/issues/6740](https://redirect.github.com/vitest-dev/vitest/issues/6740)
[<samp>(39186)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/391860f7)
- Allow a custom note when calling `ctx.skip()` dynamically  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6805](https://redirect.github.com/vitest-dev/vitest/issues/6805)
[<samp>(697c3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/697c35c5)
- Allow inline workspace configuration  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6923](https://redirect.github.com/vitest-dev/vitest/issues/6923)
[<samp>(562e1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/562e1b14)
- Provide the current project to the global setup  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6942](https://redirect.github.com/vitest-dev/vitest/issues/6942)
[<samp>(a5bbc)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a5bbc0a9)
- Print project name as a label  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6925](https://redirect.github.com/vitest-dev/vitest/issues/6925)
[<samp>(a3bef)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a3bef598)
- Print a deprecation warning if suite or test uses object as the third
argument  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7031](https://redirect.github.com/vitest-dev/vitest/issues/7031)
[<samp>(407f1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/407f10e4)
- Expose versions from `vitest/node` entry point and statically on
Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7029](https://redirect.github.com/vitest-dev/vitest/issues/7029)
[<samp>(be8d4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/be8d479b)
- `diff.printBasicPrototype: false` by default  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7043](https://redirect.github.com/vitest-dev/vitest/issues/7043)
[<samp>(2b5c5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2b5c5201)
- Prepare the Vitest API to be stable  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6962](https://redirect.github.com/vitest-dev/vitest/issues/6962)
[<samp>(9a1b5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9a1b5012)
- Support Vite v6 in mocker package  -  by
[@&#8203;cexbrayat](https://redirect.github.com/cexbrayat) in
[/~https://github.com/vitest-dev/vitest/issues/7058](https://redirect.github.com/vitest-dev/vitest/issues/7058)
[<samp>(96f47)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/96f47d37)
- Allow multi-browser configuration  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6975](https://redirect.github.com/vitest-dev/vitest/issues/6975)
[<samp>(78b62)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/78b62ffe)
- Add resolved project names to the reporter API  -  by
[@&#8203;userquin](https://redirect.github.com/userquin) in
[/~https://github.com/vitest-dev/vitest/issues/7213](https://redirect.github.com/vitest-dev/vitest/issues/7213)
[<samp>(91758)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/91758360)
- Introduce the new reporter API  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7069](https://redirect.github.com/vitest-dev/vitest/issues/7069)
[<samp>(76662)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/766624ab)
- Add `describe.for`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7253](https://redirect.github.com/vitest-dev/vitest/issues/7253)
[<samp>(0ad28)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0ad2860b)
-   **api**:
- Add onBrowserInit event  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7255](https://redirect.github.com/vitest-dev/vitest/issues/7255)
[<samp>(80ce0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/80ce0e1c)
-   **browser**:
- Support `actionTimeout` as playwright provider options  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6984](https://redirect.github.com/vitest-dev/vitest/issues/6984)
[<samp>(e2c29)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e2c29eaf)
- Support clipboard api `userEvent.copy, cut, paste`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6769](https://redirect.github.com/vitest-dev/vitest/issues/6769)
[<samp>(843a6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/843a621e)
- Implement locator.nth()  -  by
[@&#8203;xeger](https://redirect.github.com/xeger) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7137](https://redirect.github.com/vitest-dev/vitest/issues/7137)
[<samp>(38458)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/38458ea6)
-   **cli**:
- Support excluding projects with `--project=!pattern`  -  by
[@&#8203;haines](https://redirect.github.com/haines) in
[/~https://github.com/vitest-dev/vitest/issues/6924](https://redirect.github.com/vitest-dev/vitest/issues/6924)
[<samp>(ebfe9)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ebfe942c)
- Support specifying a line number when filtering tests  -  by
[@&#8203;mzhubail](https://redirect.github.com/mzhubail) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6411](https://redirect.github.com/vitest-dev/vitest/issues/6411)
[<samp>(4d94b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4d94b956)
- Support location filters for suites  -  by
[@&#8203;mzhubail](https://redirect.github.com/mzhubail) in
[/~https://github.com/vitest-dev/vitest/issues/7048](https://redirect.github.com/vitest-dev/vitest/issues/7048)
[<samp>(751e2)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/751e2dce)
-   **coverage**:
- `thresholds` to support maximum uncovered items  -  by
[@&#8203;jonahkagan](https://redirect.github.com/jonahkagan) in
[/~https://github.com/vitest-dev/vitest/issues/7061](https://redirect.github.com/vitest-dev/vitest/issues/7061)
[<samp>(bde98)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/bde98b6d)
-   **expect**:
- Add `toHaveBeenCalledExactlyOnceWith` expect matcher  -  by
[@&#8203;jacoberdman2147](https://redirect.github.com/jacoberdman2147)
and [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6894](https://redirect.github.com/vitest-dev/vitest/issues/6894)
[<samp>(ff662)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ff66206a)
- Add `toHaveBeenCalledAfter` and `toHaveBeenCalledBefore` utility  - 
by [@&#8203;Barbapapazes](https://redirect.github.com/Barbapapazes) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6056](https://redirect.github.com/vitest-dev/vitest/issues/6056)
[<samp>(85e6f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/85e6f99f)
- Add `toSatisfy` asymmetric matcher  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7022](https://redirect.github.com/vitest-dev/vitest/issues/7022)
[<samp>(f691a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f691ad76)
- Add `toBeOneOf` matcher  -  by
[@&#8203;zirkelc](https://redirect.github.com/zirkelc) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6974](https://redirect.github.com/vitest-dev/vitest/issues/6974)
[<samp>(3d742)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3d742b2b)
-   **reporter**:
- Add support for function type to classname option in the junit
reporter  -  by
[@&#8203;jpleclerc](https://redirect.github.com/jpleclerc),
**Jean-Philippe Leclerc** and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6839](https://redirect.github.com/vitest-dev/vitest/issues/6839)
[<samp>(dc238)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/dc238e92)
-   **reporters**:
- `summary` option for `verbose` and `default` reporters  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6893](https://redirect.github.com/vitest-dev/vitest/issues/6893)
[<samp>(511b7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/511b73c7)
-   **runner**:
- Test context can inject values from the config's `provide`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6813](https://redirect.github.com/vitest-dev/vitest/issues/6813)
[<samp>(85c64)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/85c64e35)
- Add "queued" state  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6931](https://redirect.github.com/vitest-dev/vitest/issues/6931)
[<samp>(5f8d2)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5f8d2091)
-   **snapshot**:
- Provide `config` to `resolveSnapshotPath`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6800](https://redirect.github.com/vitest-dev/vitest/issues/6800)
[<samp>(746d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/746d8986)
-   **ui**:
- Allow run individual tests/suites from the UI  -  by
[@&#8203;userquin](https://redirect.github.com/userquin) in
[/~https://github.com/vitest-dev/vitest/issues/6641](https://redirect.github.com/vitest-dev/vitest/issues/6641)
[<samp>(d9cc8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d9cc81dd)
- Make clicking on a test in the UI open the report section and scroll
to the test failure if applicable  -  by
[@&#8203;jacoberdman2147](https://redirect.github.com/jacoberdman2147)
in
[/~https://github.com/vitest-dev/vitest/issues/6900](https://redirect.github.com/vitest-dev/vitest/issues/6900)
[<samp>(1bf27)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1bf27f0d)
- Allow hide/show node_modules in module graph tab  -  by
[@&#8203;userquin](https://redirect.github.com/userquin) in
[/~https://github.com/vitest-dev/vitest/issues/7217](https://redirect.github.com/vitest-dev/vitest/issues/7217)
[<samp>(50cf6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/50cf61b8)
-   **vitest**:
- Include `coverageMap` in json report  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6606](https://redirect.github.com/vitest-dev/vitest/issues/6606)
[<samp>(9c8f7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9c8f7e3e)
- Add `onTestsRerun` method to global setup context  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6803](https://redirect.github.com/vitest-dev/vitest/issues/6803)
[<samp>(e26e0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e26e066c)

#####    🐞 Bug Fixes

- Misc fix for vite 6 ecosystem ci  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6867](https://redirect.github.com/vitest-dev/vitest/issues/6867)
[<samp>(80f8b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/80f8bbf4)
- Respect `cacheDir` when optimizer is enabled  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6910](https://redirect.github.com/vitest-dev/vitest/issues/6910)
[<samp>(0b08b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0b08bc11)
- Reset runningPromise after `finally` in case there is an error to
avoid it getting stuck  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6951](https://redirect.github.com/vitest-dev/vitest/issues/6951)
[<samp>(02194)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/021944cd)
- Revert support for Vite 6  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(fbe5c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fbe5c39d)
- Support Node 21  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(92f7a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/92f7a2ad)
- Don't use `Custom` internally  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(46fc5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/46fc5340)
- Don't use `Custom` internally"  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(db19f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/db19f6eb)
- Don't use `Custom` type internally  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7032](https://redirect.github.com/vitest-dev/vitest/issues/7032)
[<samp>(7957f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7957f912)
- Persist cli filters as watch mode file filter  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6955](https://redirect.github.com/vitest-dev/vitest/issues/6955)
[<samp>(cc703)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cc703362)
- Don't use dim color for succeeded tests  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7059](https://redirect.github.com/vitest-dev/vitest/issues/7059)
[<samp>(8a6f5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8a6f5f16)
- Fix missing chai types  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7149](https://redirect.github.com/vitest-dev/vitest/issues/7149)
[<samp>(6a09c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6a09cc3b)
- `cancelCurrentRun` awaits `runningPromise`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7168](https://redirect.github.com/vitest-dev/vitest/issues/7168)
[<samp>(1dbf5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1dbf5140)
- Add Locator typings for nth, first and last.  -  by
[@&#8203;xeger](https://redirect.github.com/xeger) in
[/~https://github.com/vitest-dev/vitest/issues/7176](https://redirect.github.com/vitest-dev/vitest/issues/7176)
[<samp>(d262e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d262e059)
- Batch console logs by microtask  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7183](https://redirect.github.com/vitest-dev/vitest/issues/7183)
[<samp>(53d1d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/53d1d5f5)
- Allow `getMockImplementation` to return "once" implementation  -  by
[@&#8203;chaptergy](https://redirect.github.com/chaptergy) in
[/~https://github.com/vitest-dev/vitest/issues/7033](https://redirect.github.com/vitest-dev/vitest/issues/7033)
[<samp>(39125)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3912554b)
- `capturePrintError` logger duplicate event handlers  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7197](https://redirect.github.com/vitest-dev/vitest/issues/7197)
[<samp>(e89c3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e89c3693)
- Allow slots in vitest-browser-vue  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7120](https://redirect.github.com/vitest-dev/vitest/issues/7120)
[<samp>(2319f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2319f849)
- Reset root workspace project on restart  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7238](https://redirect.github.com/vitest-dev/vitest/issues/7238)
[<samp>(6e518)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6e51843a)
- Cleanup `vitest/reporters` entrypoint  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7241](https://redirect.github.com/vitest-dev/vitest/issues/7241)
[<samp>(aec0b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/aec0b530)
- Colors on `forks` pool  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7090](https://redirect.github.com/vitest-dev/vitest/issues/7090)
[<samp>(8cab9)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8cab9601)
- Export `VitestRunner` type from `vitest/runners`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7240](https://redirect.github.com/vitest-dev/vitest/issues/7240)
[<samp>(9b218)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9b218854)
- Return test fn result to runner  -  by
[@&#8203;wmertens](https://redirect.github.com/wmertens) in
[/~https://github.com/vitest-dev/vitest/issues/7239](https://redirect.github.com/vitest-dev/vitest/issues/7239)
[<samp>(48645)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/48645bf4)
- Re-apply default conditions if using vite 6 or later  -  by
[@&#8203;thebanjomatic](https://redirect.github.com/thebanjomatic),
**thebanjomatic** and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7071](https://redirect.github.com/vitest-dev/vitest/issues/7071)
[<samp>(84287)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/84287fc2)
- Prevent infinite loop on prettyDOM calls  -  by
[@&#8203;tsirlucas](https://redirect.github.com/tsirlucas) in
[/~https://github.com/vitest-dev/vitest/issues/7250](https://redirect.github.com/vitest-dev/vitest/issues/7250)
[<samp>(a3a46)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a3a46a53)
-   **api**:
- Don't report events during `vitest list`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7257](https://redirect.github.com/vitest-dev/vitest/issues/7257)
[<samp>(1c2b2)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1c2b210d)
-   **benchmark**:
- Disable type testing while benchmarking  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7068](https://redirect.github.com/vitest-dev/vitest/issues/7068)
[<samp>(4e603)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4e60333d)
- Rewrite reporter without `log-update`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7019](https://redirect.github.com/vitest-dev/vitest/issues/7019)
[<samp>(6d23f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6d23f4b1)
-   **browser**:
- Improve source maps when `vi.mock` is present  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6810](https://redirect.github.com/vitest-dev/vitest/issues/6810)
[<samp>(8d179)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8d179afc)
- Explain TypeScript support in docs and add asymmetric matchers to
types  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6934](https://redirect.github.com/vitest-dev/vitest/issues/6934)
[<samp>(ac1a7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac1a7fdc)
- Fix matchers.d.ts  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6995](https://redirect.github.com/vitest-dev/vitest/issues/6995)
[<samp>(a485b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a485b32b)
- Fix user event state on preview provider  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7041](https://redirect.github.com/vitest-dev/vitest/issues/7041)
[<samp>(8e944)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8e94427e)
- Fix provider options types  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7115](https://redirect.github.com/vitest-dev/vitest/issues/7115)
[<samp>(579bd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/579bda97)
- Only use locator.element on last expect.element attempt  -  by
[@&#8203;tsirlucas](https://redirect.github.com/tsirlucas) in
[/~https://github.com/vitest-dev/vitest/issues/7139](https://redirect.github.com/vitest-dev/vitest/issues/7139)
and
[/~https://github.com/vitest-dev/vitest/issues/7152](https://redirect.github.com/vitest-dev/vitest/issues/7152)
[<samp>(847d3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/847d3221)
- Use correct project when filtering `entries` in the browser mode  - 
by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7167](https://redirect.github.com/vitest-dev/vitest/issues/7167)
[<samp>(423d6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/423d6345)
- Fix `console.time` with fake timers  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7207](https://redirect.github.com/vitest-dev/vitest/issues/7207)
[<samp>(903f3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/903f3b9b)
- Add instance validation to resolve coverage error  -  by
[@&#8203;DevJoaoLopes](https://redirect.github.com/DevJoaoLopes) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7231](https://redirect.github.com/vitest-dev/vitest/issues/7231)
[<samp>(1e791)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1e7915b5)
-   **coverage**:
- Exclude browser mode iframe results  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6905](https://redirect.github.com/vitest-dev/vitest/issues/6905)
[<samp>(e04a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e04a1368)
- Correct coverage when `isolate: false` is used  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6957](https://redirect.github.com/vitest-dev/vitest/issues/6957)
[<samp>(426ce)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/426ce6d8)
- Prevent crash when v8 incorrectly merges static_initializer's  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7150](https://redirect.github.com/vitest-dev/vitest/issues/7150)
[<samp>(cb6db)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cb6db13e)
-   **deps**:
- Update all non-major dependencies  -  in
[/~https://github.com/vitest-dev/vitest/issues/7085](https://redirect.github.com/vitest-dev/vitest/issues/7085)
[<samp>(8cc92)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8cc92c2f)
- Update all non-major dependencies  -  in
[/~https://github.com/vitest-dev/vitest/issues/7116](https://redirect.github.com/vitest-dev/vitest/issues/7116)
[<samp>(de5ce)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/de5ce3d9)
- Update dependency pathe to v2  -  in
[/~https://github.com/vitest-dev/vitest/issues/7181](https://redirect.github.com/vitest-dev/vitest/issues/7181)
[<samp>(74dbe)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/74dbe03f)
-   **diff**:
- Truncate to avoid crash on diff large objects  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7133](https://redirect.github.com/vitest-dev/vitest/issues/7133)
[<samp>(2a9d6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2a9d67a2)
-   **junit**:
- Fix testsuites time to be sum of all testsuite items  -  by
[@&#8203;saitonakamura](https://redirect.github.com/saitonakamura) in
[/~https://github.com/vitest-dev/vitest/issues/6985](https://redirect.github.com/vitest-dev/vitest/issues/6985)
[<samp>(ca37a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ca37a06a)
-   **pretty-format**:
- Support react 19  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6909](https://redirect.github.com/vitest-dev/vitest/issues/6909)
[<samp>(bd29b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/bd29bcc7)
-   **reporters**:
- Write buffered stdout/stderr on process exit  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6932](https://redirect.github.com/vitest-dev/vitest/issues/6932)
[<samp>(80cde)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/80cde2a0)
- Rewrite `dot` reporter without `log-update`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6943](https://redirect.github.com/vitest-dev/vitest/issues/6943)
[<samp>(be969)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/be969cfb)
- Check `--hideSkippedTests` in base reporter  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6988](https://redirect.github.com/vitest-dev/vitest/issues/6988)
[<samp>(721a5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/721a5b84)
- Show `retry` and `repeats` counts  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7004](https://redirect.github.com/vitest-dev/vitest/issues/7004)
[<samp>(3496a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3496a015)
-   **runner**:
- Long synchronous tasks does not time out  -  by
[@&#8203;ferdodo](https://redirect.github.com/ferdodo) and
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/2920](https://redirect.github.com/vitest-dev/vitest/issues/2920)
and
[/~https://github.com/vitest-dev/vitest/issues/6944](https://redirect.github.com/vitest-dev/vitest/issues/6944)
[<samp>(2fb58)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2fb585ae)
- Mark tests of `describe.todo` as `'todo'`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7171](https://redirect.github.com/vitest-dev/vitest/issues/7171)
[<samp>(1d458)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1d458955)
-   **snapshot**:
- Fix "obsolete" message on snapshot update re-run  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7129](https://redirect.github.com/vitest-dev/vitest/issues/7129)
[<samp>(c2beb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c2beb8ca)
- Preserve white space of `toMatchFileSnapshot`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7156](https://redirect.github.com/vitest-dev/vitest/issues/7156)
[<samp>(a437b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a437b656)
- Fix obsoleteness check of `toMatchSnapshot("...")`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7126](https://redirect.github.com/vitest-dev/vitest/issues/7126)
[<samp>(ac9ba)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ac9ba151)
-   **typecheck**:
- Fix typecheck collect on Vite 6  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6972](https://redirect.github.com/vitest-dev/vitest/issues/6972)
[<samp>(7b35d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7b35d13a)
- Use unique temp and tsbuildinfo file for each tsconfig file  -  by
[@&#8203;masnormen](https://redirect.github.com/masnormen) in
[/~https://github.com/vitest-dev/vitest/issues/7107](https://redirect.github.com/vitest-dev/vitest/issues/7107)
and
[/~https://github.com/vitest-dev/vitest/issues/7112](https://redirect.github.com/vitest-dev/vitest/issues/7112)
[<samp>(61b30)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/61b30162)
- Fix error test case mapping for `@ts-expect-error`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7125](https://redirect.github.com/vitest-dev/vitest/issues/7125)
[<samp>(27d34)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/27d340aa)
-   **types**:
- Make parameters non-nullable for Playwright options  -  by
[@&#8203;apple-yagi](https://redirect.github.com/apple-yagi) in
[/~https://github.com/vitest-dev/vitest/issues/6989](https://redirect.github.com/vitest-dev/vitest/issues/6989)
[<samp>(fe2a1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fe2a187f)
-   **ui**:
- Wrong module graph when generating html.meta.json.gz in browser mode
 -  by [@&#8203;userquin](https://redirect.github.com/userquin) in
[/~https://github.com/vitest-dev/vitest/issues/7214](https://redirect.github.com/vitest-dev/vitest/issues/7214)
[<samp>(dccdd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/dccdd550)
- Add errors and draft state (\*) to the code editor  -  by
[@&#8203;userquin](https://redirect.github.com/userquin) in
[/~https://github.com/vitest-dev/vitest/issues/7044](https://redirect.github.com/vitest-dev/vitest/issues/7044)
[<samp>(faca4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/faca4de8)
-   **vite-node**:
- Fix error stack on Windows  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6786](https://redirect.github.com/vitest-dev/vitest/issues/6786)
[<samp>(bf7b3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/bf7b36ac)
- Properly normalize file url import  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7087](https://redirect.github.com/vitest-dev/vitest/issues/7087)
[<samp>(31675)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/31675e3b)
- Fix mandatory node prefix  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/7179](https://redirect.github.com/vitest-dev/vitest/issues/7179)
[<samp>(b6284)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b6284642)
-   **watch**:
- Don't indicate exit when no matching files  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) and
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/7246](https://redirect.github.com/vitest-dev/vitest/issues/7246)
[<samp>(003c0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/003c0bef)
-   **workspace**:
- `extends: true` correctly inherits all root config properties  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/7232](https://redirect.github.com/vitest-dev/vitest/issues/7232)
[<samp>(798c0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/798c0da2)

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

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

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

#####    🐞 Bug Fixes

- Support Node 21  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(92f7a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/92f7a2ad)

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

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

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

#####    🐞 Bug Fixes

- Revert support for Vite 6  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(fbe5c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fbe5c39d)
- This introduced some breaking changes
([/~https://github.com/vitest-dev/vitest/issues/6992](https://redirect.github.com/vitest-dev/vitest/issues/6992)).
We will enable support at a later time. In the meantime, you can still
use `pnpm.overrides` or yarn resolutions to override the `vite` version
in the `vitest` package - the APIs are compatible.

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

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

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

#### 🚀 Features

-   Support VIte 6

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

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

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

#####    🚀 Features

- **experimental**: Expose vite on the test project as a separate field
 -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(bcc59)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/bcc59088)

#####    🐞 Bug Fixes

- `dangerouslyIgnoreUnhandledErrors` without base reporter  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6808](https://redirect.github.com/vitest-dev/vitest/issues/6808)
[<samp>(0bf0a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0bf0ab00)
- Capture `unhandledRejection` even when base reporter is not used  - 
by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6812](https://redirect.github.com/vitest-dev/vitest/issues/6812)
[<samp>(8878b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8878b04d)
- Don't change the working directory when loading workspace projects  - 
by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6811](https://redirect.github.com/vitest-dev/vitest/issues/6811)
[<samp>(f0aea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f0aeaca8)
- Remove `sequence.concurrent` from the `RuntimeConfig` type  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6880](https://redirect.github.com/vitest-dev/vitest/issues/6880)
[<samp>(6af73)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6af73d93)
- Stop the runner before restarting, restart on workspace config change
 -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6859](https://redirect.github.com/vitest-dev/vitest/issues/6859)
[<samp>(b01df)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b01df47d)
- Don't rerun on Esc or Ctrl-C during watch filter  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6895](https://redirect.github.com/vitest-dev/vitest/issues/6895)
[<samp>(98f76)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/98f76ea7)
- Print ssrTransform error  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6885](https://redirect.github.com/vitest-dev/vitest/issues/6885)
[<samp>(4c96c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4c96cce7)
- Throw an error and a warning if `.poll`, `.element`,
`.rejects`/`.resolves`, and `locator.*` weren't awaited  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6877](https://redirect.github.com/vitest-dev/vitest/issues/6877)
[<samp>(93b67)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/93b67c24)
-   **browser**:
- Don't process the default css styles  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6861](https://redirect.github.com/vitest-dev/vitest/issues/6861)
[<samp>(0d67f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0d67f04b)
- Support non US key input  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6873](https://redirect.github.com/vitest-dev/vitest/issues/6873)
[<samp>(5969d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5969d8da)
- Stop the browser rpc when the pool is closed  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6858](https://redirect.github.com/vitest-dev/vitest/issues/6858)
[<samp>(9a0c9)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9a0c93d7)
- Init browsers eagerly when tests are running  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6876](https://redirect.github.com/vitest-dev/vitest/issues/6876)
[<samp>(417bd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/417bdb42)
-   **coverage**:
- Report uncovered files when re-run by `enter` or `'a'`  -  by
[@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in
[/~https://github.com/vitest-dev/vitest/issues/6848](https://redirect.github.com/vitest-dev/vitest/issues/6848)
[<samp>(487c8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/487c80ae)
-   **ui**:
- Remove crossorigin attributes for same origin assets  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6883](https://redirect.github.com/vitest-dev/vitest/issues/6883)
[<samp>(6e793)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6e793c64)
-   **vite-node**:
- Improve esm check to decide external  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6816](https://redirect.github.com/vitest-dev/vitest/issues/6816)
[<samp>(7e1fa)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7e1faf3d)
- Top-level throw in module is not reported properly  -  by
[@&#8203;vanaigr](https://redirect.github.com/vanaigr) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6840](https://redirect.github.com/vitest-dev/vitest/issues/6840)
[<samp>(cf0cb)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cf0cbf6a)
-   **vitest**:
- Use fetch() implementation from happy-dom  -  by
[@&#8203;capricorn86](https://redirect.github.com/capricorn86) in
[/~https://github.com/vitest-dev/vitest/issues/6879](https://redirect.github.com/vitest-dev/vitest/issues/6879)
[<samp>(3c56f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3c56feb4)

#####    🏎 Performance

- Limit workspace project concurrency to available cores  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6869](https://redirect.github.com/vitest-dev/vitest/issues/6869)
[<samp>(f4c04)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f4c04ab6)

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

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

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

#####    🚀 Features

- **browser**: Allow custom HTML path, respect plugins
`transformIndexHtml`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6725](https://redirect.github.com/vitest-dev/vitest/issues/6725)
[<samp>(16902)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/169028f0)

#####    🐞 Bug Fixes

- Don't normalize drive case letter in root  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6792](https://redirect.github.com/vitest-dev/vitest/issues/6792)
[<samp>(b28cd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b28cd2e3)
-   **browser**:
- Fix default browser port  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6700](https://redirect.github.com/vitest-dev/vitest/issues/6700)
[<samp>(9c518)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9c518c14)
- Optimize expect-type  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6713](https://redirect.github.com/vitest-dev/vitest/issues/6713)
[<samp>(07918)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/07918538)
- Don't polyfill process.env  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6718](https://redirect.github.com/vitest-dev/vitest/issues/6718)
[<samp>(da6d2)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/da6d2ea7)
- Increment browser port automatically if there are several projects
with browser.enabled  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6717](https://redirect.github.com/vitest-dev/vitest/issues/6717)
[<samp>(a9397)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a939779f)
- Cleanup keyboard state  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6731](https://redirect.github.com/vitest-dev/vitest/issues/6731)
[<samp>(19278)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/19278f4c)
- Don't add `v=` queries to setup files imports  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6759](https://redirect.github.com/vitest-dev/vitest/issues/6759)
[<samp>(b8258)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/b82584c9)
- User event cleanup on retry  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6764](https://redirect.github.com/vitest-dev/vitest/issues/6764)
[<samp>(bdd15)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/bdd15dd1)
- Ignore non mocked msw requests  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6770](https://redirect.github.com/vitest-dev/vitest/issues/6770)
[<samp>(9d9ba)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9d9bad5b)
- Initiate MSW in the same frame as tests  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6772](https://redirect.github.com/vitest-dev/vitest/issues/6772)
[<samp>(2444f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2444ff22)
-   **deps**:
- Update dependency sirv to v3  -  in
[/~https://github.com/vitest-dev/vitest/issues/6701](https://redirect.github.com/vitest-dev/vitest/issues/6701)
[<samp>(fde5d)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fde5d509)
-   **expect**:
- Correct behavior of `toThrowError` with empty string parameter  -  by
[@&#8203;shulaoda](https://redirect.github.com/shulaoda) in
[/~https://github.com/vitest-dev/vitest/issues/6710](https://redirect.github.com/vitest-dev/vitest/issues/6710)
[<samp>(a6129)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a61293e9)
-   **mocker**:
- Remove spy from peer dependencies  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6777](https://redirect.github.com/vitest-dev/vitest/issues/6777)
[<samp>(3a8b5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3a8b56bf)
-   **vitest**:
- Clarify slowTestThreshold, print slow tests in non-TTY mode  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6715](https://redirect.github.com/vitest-dev/vitest/issues/6715)
[<samp>(2e6aa)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/2e6aa647)
- Print warnings form Vite plugins  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6724](https://redirect.github.com/vitest-dev/vitest/issues/6724)
[<samp>(121b1)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/121b161f)
- Don't fail if the working directory starts with a lowercase drive
letter  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6779](https://redirect.github.com/vitest-dev/vitest/issues/6779)
[<samp>(df6d7)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/df6d750b)
- Silence import analysis warning  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6785](https://redirect.github.com/vitest-dev/vitest/issues/6785)
[<samp>(39041)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/39041ee5)
-   **vitest,runner**:
- Simplify `test.extend` type exports  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6707](https://redirect.github.com/vitest-dev/vitest/issues/6707)
[<samp>(e5c38)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e5c388f0)

#####    🏎 Performance

- Use `hash` to replace `createHash`  -  by
[@&#8203;btea](https://redirect.github.com/btea) in
[/~https://github.com/vitest-dev/vitest/issues/6703](https://redirect.github.com/vitest-dev/vitest/issues/6703)
[<samp>(5d07b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5d07bba6)

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

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

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

#####    🐞 Bug Fixes

- Fix error diff of `toBeNaN, toBeUndefined, toBeNull, toBeTruthy,
toBeFalsy`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6697](https://redirect.github.com/vitest-dev/vitest/issues/6697)
[<samp>(e0027)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e002758c)
-   **browser**:
- Provide aria role intellisense  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6629](https://redirect.github.com/vitest-dev/vitest/issues/6629)
[<samp>(f36ea)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f36eac77)
- Not.toBeInTheDocument works with locators API  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6634](https://redirect.github.com/vitest-dev/vitest/issues/6634)
[<samp>(8bef5)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/8bef5d2b)
- Use `/mockServiceWorker.js` instead of `/__vitest_msw__`  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6687](https://redirect.github.com/vitest-dev/vitest/issues/6687)
[<samp>(4b2ce)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4b2ce07f)
- Don't override the esbuild option in the browser mode  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6692](https://redirect.github.com/vitest-dev/vitest/issues/6692)
[<samp>(d131f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d131fd64)
-   **expect**:
- Preserve prototype in `toMatchObject` diff  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6620](https://redirect.github.com/vitest-dev/vitest/issues/6620)
[<samp>(d289e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d289e7eb)
-   **mocker**:
- Specify correct spy dependency  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va)
[<samp>(7e958)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7e9584aa)
-   **runner**:
- Ensure sequential suite overrides sequence.concurrent  -  by
[@&#8203;dsyddall](https://redirect.github.com/dsyddall) and
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6653](https://redirect.github.com/vitest-dev/vitest/issues/6653)
[<samp>(5e6de)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5e6de274)
-   **vitest**:
- Deprecate UserConfig in favor of ViteUserConfig  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6626](https://redirect.github.com/vitest-dev/vitest/issues/6626)
[<samp>(496bd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/496bd251)
- Don't hang with maxConcurrency 0  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6627](https://redirect.github.com/vitest-dev/vitest/issues/6627)
[<samp>(946d8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/946d8bb1)
- Deprecate old task types and node-reliant types  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6632](https://redirect.github.com/vitest-dev/vitest/issues/6632)
[<samp>(00045)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/000459a9)
- Fix `<empty line>` logs when interleaving `console.log/error`  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6644](https://redirect.github.com/vitest-dev/vitest/issues/6644)
[<samp>(9ece3)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9ece3952)
- Show rollup error details as test error  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6686](https://redirect.github.com/vitest-dev/vitest/issues/6686)
[<samp>(47dde)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/47dde76f)
- Always inline setup files  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6689](https://redirect.github.com/vitest-dev/vitest/issues/6689)
[<samp>(19d64)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/19d64e20)
- Use `fast-glob` instead of `tinyglobby` in Vitest  -  by
[@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in
[/~https://github.com/vitest-dev/vitest/issues/6688](https://redirect.github.com/vitest-dev/vitest/issues/6688)
[<samp>(70baa)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/70baaaa9)
-   **web-worker**:
- Share mocker with main executor  -  by
[@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa) in
[/~https://github.com/vitest-dev/vitest/issues/6623](https://redirect.github.com/vitest-dev/vitest/issues/6623)
[<

</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 this update
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/eslint-plugin-package-json).

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

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: michael faith <michaelfaith@users.noreply.github.com>
  • Loading branch information
renovate[bot] and michaelfaith authored Jan 20, 2025
1 parent e80728c commit 5517b57
Show file tree
Hide file tree
Showing 2 changed files with 195 additions and 239 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@types/semver": "^7.5.6",
"@types/sort-object-keys": "^1.1.3",
"@types/validate-npm-package-name": "^4.0.2",
"@vitest/coverage-v8": "^1.2.1",
"@vitest/coverage-v8": "^3.0.0",
"@vitest/eslint-plugin": "^1.1.25",
"console-fail-test": "^0.5.0",
"cspell": "^8.3.2",
Expand Down Expand Up @@ -103,7 +103,7 @@
"tsup": "^8.0.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0",
"vitest": "^1.2.1"
"vitest": "^3.0.0"
},
"peerDependencies": {
"eslint": ">=8.0.0",
Expand Down
Loading

0 comments on commit 5517b57

Please sign in to comment.