Skip to content

Comments

feat: support config junit reporter className with env#3808

Merged
sheremet-va merged 3 commits intovitest-dev:mainfrom
InfiniteXyy:main
Jul 28, 2023
Merged

feat: support config junit reporter className with env#3808
sheremet-va merged 3 commits intovitest-dev:mainfrom
InfiniteXyy:main

Conversation

@InfiniteXyy
Copy link
Contributor

@InfiniteXyy InfiniteXyy commented Jul 25, 2023

Add some partial config for #3691

It would be helpful if some want don't want the filePath to be in the className in Junit reporter

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Jul 25, 2023

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
🔨 Latest commit 95f21ad
🔍 Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/64c08f4abe5fb60008ff265b
😎 Deploy Preview https://deploy-preview-3808--fastidious-cascaron-4ded94.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link
Member

@AriPerkkio AriPerkkio left a comment

Choose a reason for hiding this comment

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

I guess this change is fine for now. As long term solution we should allow configuring reporter specific options: #3691 (comment)

@sheremet-va sheremet-va merged commit e8bc46b into vitest-dev:main Jul 28, 2023
renovate bot referenced this pull request in fwouts/previewjs Aug 1, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` ->
`^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

#####    🚨 Breaking Changes

- TransformMode affects only test files, not regular files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491)
[<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72)
- Disable `coverage.reportOnFailure` by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615)
[<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f)
- Remove `@vitest/coverage-c8` package  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614)
[<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe)
- Support running tests using VM context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203)
[<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852)

#####    🚀 Features

- Support `describe.sequential`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771)
[<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b)
- Support config junit reporter className with env  -  by
[@&#8203;InfiniteXyy](https://togithub.com/InfiniteXyy) in
[https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808)
[<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6)
- Running vitest with `--related --watch` reruns non-affected tests if
they were changed during a run  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844)
[<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c)
- Introduce `server` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725)
[<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64)
- Add preact example, remove optimizer experimental status, enable by
default  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
and [@&#8203;eryue0220](https://togithub.com/eryue0220) in
[https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854)
[<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9)
- **vite-node**: Make CLI arguments parsing behavior consistent with
node/tsx/ts-node  -  by [@&#8203;rxliuli](https://togithub.com/rxliuli)
in
[https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574)
[<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f)

#####    🐞 Bug Fixes

- Isolate workers between envs and workspaces  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio)
[<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424)
- Modify condition  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0)
- Module Graph view is blocking the Console view  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420)
[<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc)
- Port the latest `defineConfig` type from vite  -  by
[@&#8203;sodatea](https://togithub.com/sodatea) in
[https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804)
[<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083)
- Don't overwrite Node.js URL global  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828)
[<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651)
- ForceRerunTriggers correctly triggers a rerun  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829)
[<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51)
-   **browser**:
- Don't inline magic-string and estree-walker  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726)
[<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a)
- Multi-suite coverage  -  by
[@&#8203;elby22](https://togithub.com/elby22) in
[https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806)
[<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26)
-   **core**:
- DataView comparison does not work in `toStrictEqual`  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing)
[<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e)
-   **coverage**:
- V8 provider to pick source maps without url query params  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784)
[<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745)
- Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency
 -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814)
[<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102)
- Exclude vite virtual modules by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794)
[<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872)
-   **node**:
- Guard error info  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758)
-   **vite-node**:
- Always treat node_modules as modulesDirectory  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830)
[<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c)
- Normalize drive letter to keep the same reference to a module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836)
[<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859)
- Correctly resolve hmr filepath  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834)
[<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249)
-   **watch**:
- Clear screen on all terminals  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661)
[<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01)

#####    🏎 Performance

- Deprecate deps.registerNodeLoader  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in mheob/used-pm Aug 1, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1)

[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

#####    🐞 Bug Fixes

-   Pass `--experimental-vm-worker-memory-limit` to `tinypool`  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb)

#####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0)

[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

#####    🚨 Breaking Changes

-   Transform mode affects only test files, not regular files  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72)
    -   `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property.
-   Disable `coverage.reportOnFailure` by default  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f)
-   Remove `@vitest/coverage-c8` package  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe)
    -   `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead.
-   Support running tests using VM context  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) and [@&#8203;dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852)
    -   To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue.
-   Introduce `server` option  -  by [@&#8203;fenghan34](https://togithub.com/fenghan34) and [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64)
    -   Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether.
-   **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node  -  by [@&#8203;rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f)
    -   You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`.
-   Add preact example, remove optimizer experimental status, enable by default  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) and [@&#8203;eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9)
    -   `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte).

#####    🚀 Features

-   Support `describe.sequential`  -  by [@&#8203;fenghan34](https://togithub.com/fenghan34) and [@&#8203;dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b)
-   Support config junit reporter className with env  -  by [@&#8203;InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6)
-   Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c)

#####    🐞 Bug Fixes

-   Isolate workers between envs and workspaces  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424)
-   Modify condition  -  by [@&#8203;btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0)
-   Module Graph view is blocking the Console view  -  by [@&#8203;g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc)
-   Port the latest `defineConfig` type from vite  -  by [@&#8203;sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083)
-   Don't overwrite Node.js URL global  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651)
-   ForceRerunTriggers correctly triggers a rerun  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51)
-   **browser**:
    -   Don't inline magic-string and estree-walker  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a)
    -   Multi-suite coverage  -  by [@&#8203;elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26)
-   **core**:
    -   DataView comparison does not work in `toStrictEqual`  -  by [@&#8203;Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e)
-   **coverage**:
    -   V8 provider to pick source maps without url query params  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745)
    -   Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102)
    -   Exclude vite virtual modules by default  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872)
-   **node**:
    -   Guard error info  -  by [@&#8203;btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758)
-   **vite-node**:
    -   Always treat node_modules as modulesDirectory  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c)
    -   Normalize drive letter to keep the same reference to a module  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859)
    -   Correctly resolve hmr filepath  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249)
-   **watch**:
    -   Clear screen on all terminals  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01)

#####    🏎 Performance

-   Deprecate deps.registerNodeLoader  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d)
    -   This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`.

#####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
renovate bot referenced this pull request in creatorsgarten/contentsgarten Aug 1, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` ->
`^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

#####    🐞 Bug Fixes

- Pass `--experimental-vm-worker-memory-limit` to `tinypool`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856)
[<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

###
[`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

#####    🚨 Breaking Changes

- Transform mode affects only test files, not regular files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491)
[<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72)
- `transformMode` is now moved to `server.transformMode`. This option is
highly discouraged to use. If you need to change the transform mode, use
the new option `testTransformMode` instead to control the mode based on
the running test, not the current file path. By default, tests with
`jsdom` or `happy-dom` use `web` transform mode, and tests using `node`
or `edge` environment use `ssr` mode. If you have a custom environment,
it should provide `transformMode` property.
- Disable `coverage.reportOnFailure` by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615)
[<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f)
- Remove `@vitest/coverage-c8` package  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614)
[<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe)
- `@vitest/coverage-c8` is no longer supported. Please, use
`@vitest/coverage-v8` instead.
- Support running tests using VM context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203)
[<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852)
- To address speed issues in some applications, Vitest now provides
`experimentalVmThreads` pool to run your tests using VM Sandboxes
environment. Make sure you understand [all
pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool
before opening an issue.
- Introduce `server` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725)
[<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64)
- Most of `deps.` options are now moved to `server.deps` with a
deprecation warning. Please, consider using `deps.optimizer` instead of
`deps.inline`/`deps.external`. Ideally, we would like to move away from
using `server.deps.inline` altogether.
- **vite-node**: Make CLI arguments parsing behavior consistent with
node/tsx/ts-node  -  by [@&#8203;rxliuli](https://togithub.com/rxliuli)
in
[https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574)
[<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f)
- You now have to provide CLI arguments before the entry point. For
example, instead of `vite-node index.ts --watch`, you now have to do
`vite-node --watch index.ts`.
- Add preact example, remove optimizer experimental status, enable by
default  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
and [@&#8203;eryue0220](https://togithub.com/eryue0220) in
[https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854)
[<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9)
- `deps.optimizer` is now enabled by default. This means that Vitest
will bundle specified dependencies before running your tests. This field
inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are
populated by other plugins (like, Svelte).

#####    🚀 Features

- Support `describe.sequential`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771)
[<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b)
- Support config junit reporter className with env  -  by
[@&#8203;InfiniteXyy](https://togithub.com/InfiniteXyy) in
[https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808)
[<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6)
- Running vitest with `--related --watch` reruns non-affected tests if
they were changed during a run  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844)
[<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c)

#####    🐞 Bug Fixes

- Isolate workers between envs and workspaces  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio)
[<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424)
- Modify condition  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0)
- Module Graph view is blocking the Console view  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420)
[<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc)
- Port the latest `defineConfig` type from vite  -  by
[@&#8203;sodatea](https://togithub.com/sodatea) in
[https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804)
[<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083)
- Don't overwrite Node.js URL global  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828)
[<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651)
- ForceRerunTriggers correctly triggers a rerun  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829)
[<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51)
-   **browser**:
- Don't inline magic-string and estree-walker  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726)
[<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a)
- Multi-suite coverage  -  by
[@&#8203;elby22](https://togithub.com/elby22) in
[https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806)
[<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26)
-   **core**:
- DataView comparison does not work in `toStrictEqual`  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing)
[<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e)
-   **coverage**:
- V8 provider to pick source maps without url query params  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784)
[<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745)
- Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency
 -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814)
[<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102)
- Exclude vite virtual modules by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794)
[<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872)
-   **node**:
- Guard error info  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758)
-   **vite-node**:
- Always treat node_modules as modulesDirectory  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830)
[<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c)
- Normalize drive letter to keep the same reference to a module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836)
[<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859)
- Correctly resolve hmr filepath  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834)
[<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249)
-   **watch**:
- Clear screen on all terminals  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661)
[<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01)

#####    🏎 Performance

- Deprecate deps.registerNodeLoader  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d)
- This option was introduced to support aliasing inside external
packages. Please, use `deps.optimizer.web` instead. If you test Node.js
applications, consider adding external packages to `server.deps.inline`.

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/creatorsgarten/contentsgarten).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mefengl referenced this pull request in mefengl/vscode-i-dont-care-about-commit-message Aug 3, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` ->
`^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

#####    🐞 Bug Fixes

- Pass `--experimental-vm-worker-memory-limit` to `tinypool`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856)
[<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1)

###
[`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

#####    🚨 Breaking Changes

- Transform mode affects only test files, not regular files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491)
[<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72)
- `transformMode` is now moved to `server.transformMode`. This option is
highly discouraged to use. If you need to change the transform mode, use
the new option `testTransformMode` instead to control the mode based on
the running test, not the current file path. By default, tests with
`jsdom` or `happy-dom` use `web` transform mode, and tests using `node`
or `edge` environment use `ssr` mode. If you have a custom environment,
it should provide `transformMode` property.
- Disable `coverage.reportOnFailure` by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615)
[<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f)
- Remove `@vitest/coverage-c8` package  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614)
[<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe)
- `@vitest/coverage-c8` is no longer supported. Please, use
`@vitest/coverage-v8` instead.
- Support running tests using VM context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203)
[<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852)
- To address speed issues in some applications, Vitest now provides
`experimentalVmThreads` pool to run your tests using VM Sandboxes
environment. Make sure you understand [all
pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool
before opening an issue.
- Introduce `server` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725)
[<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64)
- Most of `deps.` options are now moved to `server.deps` with a
deprecation warning. Please, consider using `deps.optimizer` instead of
`deps.inline`/`deps.external`. Ideally, we would like to move away from
using `server.deps.inline` altogether.
- **vite-node**: Make CLI arguments parsing behavior consistent with
node/tsx/ts-node  -  by [@&#8203;rxliuli](https://togithub.com/rxliuli)
in
[https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574)
[<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f)
- You now have to provide CLI arguments before the entry point. For
example, instead of `vite-node index.ts --watch`, you now have to do
`vite-node --watch index.ts`.
- Add preact example, remove optimizer experimental status, enable by
default  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
and [@&#8203;eryue0220](https://togithub.com/eryue0220) in
[https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854)
[<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9)
- `deps.optimizer` is now enabled by default. This means that Vitest
will bundle specified dependencies before running your tests. This field
inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are
populated by other plugins (like, Svelte).

#####    🚀 Features

- Support `describe.sequential`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771)
[<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b)
- Support config junit reporter className with env  -  by
[@&#8203;InfiniteXyy](https://togithub.com/InfiniteXyy) in
[https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808)
[<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6)
- Running vitest with `--related --watch` reruns non