Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parse env options from comments (fix #1962) #1984

Merged
merged 10 commits into from Oct 10, 2022

Conversation

nickmccurdy
Copy link
Contributor

No description provided.

@nickmccurdy nickmccurdy changed the title fix: parse environment options from comments (fix #1962) fix: parse env options from comments (fix #1962) Sep 6, 2022
@nickmccurdy
Copy link
Contributor Author

nickmccurdy commented Sep 6, 2022

I seem to have fixed the bug, but I'm not sure if I have the environment option merging right, and things could probably be cleaner and faster in the long run (see #1987).

@nickmccurdy nickmccurdy marked this pull request as ready for review September 6, 2022 18:08
packages/vitest/src/runtime/entry.ts Outdated Show resolved Hide resolved
@@ -45,22 +52,31 @@ export async function run(files: string[], config: ResolvedConfig): Promise<void
if (!files || !files.length)
continue

await withEnv(environment, config.environmentOptions || {}, async () => {
for (const file of files) {
const filesByOptions = groupBy(files, ({ envOptions }) => JSON.stringify(envOptions))
Copy link
Member

Choose a reason for hiding this comment

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

What about this case?

// file1.ts
// @vitest-environment custom
// @vitest-environment-options {"option1":1,"option2":2}

// file2.ts
// @vitest-environment custom
// @vitest-environment-options {"option2":2,"option1":1}

These files should run in the same environment, because they have the same values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Personally I'm not sure that's beneficial enough to be worth the downsides. We would have to make the equality logic much more complex. Also from what I understand, the JSON and ECMAScript spec do not specify whether parsers need to be ordered, so we would need to hard code different logic for JavaScript runtimes and environments. Even if we only supported V8, we would have to either ban numerical keys (technically a breaking change since custom environments can have any keys), or introduce undefined runtime behavior (possibly a breaking change).

If you wanted to ensure better performance as a user, you could simply sort your keys with a linter. Worst case, we get an O(n) performance in exchange for respecting the ECMAScript spec, which I think is worth it.

Would something break if we made the wrong assumption about option equality for grouping envs? If not, then this is just a performance issue and maybe that argument doesn't hold much weight. However, in that case I think adding too much time complexity for edge cases like this could make tests slower than if they had some extra env instances. Also JSON parsing is synchronous, but we already parallelize envs.

Copy link
Member

Choose a reason for hiding this comment

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

Also from what I understand, the JSON and ECMAScript spec do not specify whether parsers need to be ordered, so we would need to hard code different logic for JavaScript runtimes and environments.

I think you overcomplicate things here, I'm sure we can create a string key that doesn't depend on key order. Sorting keys seems like an obvious solution.

If you wanted to ensure better performance as a user, you could simply sort your keys with a linter.

I don't think you can store them with linter in our docblock?

Would something break if we made the wrong assumption about option equality for grouping envs?

Most things that expect single JSOM instance will break, because we don't clear ESM cache in --no-threads: Vue, for example, stores "document" globally on import, so next tests with different "options" will fail, because global "document" will be different. This is actually why we have grouping.

I am sure this usecase will emerge, if people will use @vitet-environment-options.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also from what I understand, the JSON and ECMAScript spec do not specify whether parsers need to be ordered, so we would need to hard code different logic for JavaScript runtimes and environments.

I think you overcomplicate things here, I'm sure we can create a string key that doesn't depend on key order. Sorting keys seems like an obvious solution.

That sounds like a good place to start, but I still feel like that's a lot of time complexity. I'll try some benchmarks.

@sheremet-va
Copy link
Member

Let's merge it now and see, if the order is really a problem later.

@sheremet-va sheremet-va merged commit 99b7d9e into vitest-dev:main Oct 10, 2022
fwouts pushed a commit to fwouts/previewjs that referenced this pull request Oct 13, 2022
[![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.24.0` ->
`0.24.1`](https://renovatebot.com/diffs/npm/vitest/0.24.0/0.24.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.24.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.24.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.24.1/compatibility-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.24.1/confidence-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- Remove work-around from `istanbul-lib-instrument`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2121
- Don't show extra properties for test context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2116
- Parse env options from comments (fix
[#&#8203;1962](https://togithub.com/vitest-dev/vitest/issues/1962))  - 
by [@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#1984
- **coverage**: Fix sourcemaps of uncovered lines  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2122

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

</details>

---

### Configuration

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

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

♻ **Rebasing**: Whenever PR 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, click
this checkbox.

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker-frontend that referenced this pull request Oct 15, 2022
[![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/coverage-c8](https://togithub.com/vitest-dev/vitest) |
[`^0.24.0` ->
`^0.24.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.24.0/0.24.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/compatibility-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/confidence-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- **build**: Build packages before publishing  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(3c4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)

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

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

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

#####    🚀 Features

- **ui**: Add tests summary in the dashboard  -  by
[@&#8203;webfansplz](https://togithub.com/webfansplz) and
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2133

#####    🐞 Bug Fixes

- **bench**: Throw root cause  -  by
[@&#8203;azaleta](https://togithub.com/azaleta) and
[@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#2137
- **browser**: Working again  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2143
- **coverage**: Reduce size of leftover v8 reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2144
- **vite-node**: Init the debugger ahead of time to ensure that load
dumped code work as expected (fix
[#&#8203;2126](https://togithub.com/vitest-dev/vitest/issues/2126))  - 
by [@&#8203;await-ovo](https://togithub.com/await-ovo) in
[vitest-dev/vitest#2127

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

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

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

#####    🐞 Bug Fixes

- Remove work-around from `istanbul-lib-instrument`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2121
- Don't show extra properties for test context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2116
- Parse env options from comments (fix
[#&#8203;1962](https://togithub.com/vitest-dev/vitest/issues/1962))  - 
by [@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#1984
- **coverage**: Fix sourcemaps of uncovered lines  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2122

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" 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.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker-frontend that referenced this pull request Oct 15, 2022
[![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.24.0` ->
`^0.24.3`](https://renovatebot.com/diffs/npm/vitest/0.24.0/0.24.3) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/compatibility-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/confidence-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- **build**: Build packages before publishing  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(3c4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)

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

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

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

#####    🚀 Features

- **ui**: Add tests summary in the dashboard  -  by
[@&#8203;webfansplz](https://togithub.com/webfansplz) and
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2133

#####    🐞 Bug Fixes

- **bench**: Throw root cause  -  by
[@&#8203;azaleta](https://togithub.com/azaleta) and
[@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#2137
- **browser**: Working again  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2143
- **coverage**: Reduce size of leftover v8 reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2144
- **vite-node**: Init the debugger ahead of time to ensure that load
dumped code work as expected (fix
[#&#8203;2126](https://togithub.com/vitest-dev/vitest/issues/2126))  - 
by [@&#8203;await-ovo](https://togithub.com/await-ovo) in
[vitest-dev/vitest#2127

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

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

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

#####    🐞 Bug Fixes

- Remove work-around from `istanbul-lib-instrument`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2121
- Don't show extra properties for test context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2116
- Parse env options from comments (fix
[#&#8203;1962](https://togithub.com/vitest-dev/vitest/issues/1962))  - 
by [@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#1984
- **coverage**: Fix sourcemaps of uncovered lines  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2122

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" 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.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker that referenced this pull request Nov 12, 2022
[![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/coverage-c8](https://togithub.com/vitest-dev/vitest) |
[`^0.24.0` ->
`^0.24.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.24.0/0.24.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/compatibility-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/confidence-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- **build**: Build packages before publishing  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(3c4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)

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

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

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

#####    🚀 Features

- **ui**: Add tests summary in the dashboard  -  by
[@&#8203;webfansplz](https://togithub.com/webfansplz) and
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2133

#####    🐞 Bug Fixes

- **bench**: Throw root cause  -  by
[@&#8203;azaleta](https://togithub.com/azaleta) and
[@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#2137
- **browser**: Working again  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2143
- **coverage**: Reduce size of leftover v8 reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2144
- **vite-node**: Init the debugger ahead of time to ensure that load
dumped code work as expected (fix
[#&#8203;2126](https://togithub.com/vitest-dev/vitest/issues/2126))  - 
by [@&#8203;await-ovo](https://togithub.com/await-ovo) in
[vitest-dev/vitest#2127

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

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

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

#####    🐞 Bug Fixes

- Remove work-around from `istanbul-lib-instrument`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2121
- Don't show extra properties for test context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2116
- Parse env options from comments (fix
[#&#8203;1962](https://togithub.com/vitest-dev/vitest/issues/1962))  - 
by [@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#1984
- **coverage**: Fix sourcemaps of uncovered lines  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2122

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" 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.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
marvinruder pushed a commit to marvinruder/rating-tracker that referenced this pull request Nov 12, 2022
[![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.24.0` ->
`^0.24.3`](https://renovatebot.com/diffs/npm/vitest/0.24.0/0.24.3) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/compatibility-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.24.3/confidence-slim/0.24.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🐞 Bug Fixes

- **build**: Build packages before publishing  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(3c4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)

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

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

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

#####    🚀 Features

- **ui**: Add tests summary in the dashboard  -  by
[@&#8203;webfansplz](https://togithub.com/webfansplz) and
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2133

#####    🐞 Bug Fixes

- **bench**: Throw root cause  -  by
[@&#8203;azaleta](https://togithub.com/azaleta) and
[@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#2137
- **browser**: Working again  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[vitest-dev/vitest#2143
- **coverage**: Reduce size of leftover v8 reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2144
- **vite-node**: Init the debugger ahead of time to ensure that load
dumped code work as expected (fix
[#&#8203;2126](https://togithub.com/vitest-dev/vitest/issues/2126))  - 
by [@&#8203;await-ovo](https://togithub.com/await-ovo) in
[vitest-dev/vitest#2127

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

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

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

#####    🐞 Bug Fixes

- Remove work-around from `istanbul-lib-instrument`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2121
- Don't show extra properties for test context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2116
- Parse env options from comments (fix
[#&#8203;1962](https://togithub.com/vitest-dev/vitest/issues/1962))  - 
by [@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[vitest-dev/vitest#1984
- **coverage**: Fix sourcemaps of uncovered lines  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2122

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" 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.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/marvinruder/rating-tracker-frontend).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@nickmccurdy nickmccurdy deleted the fix-1962 branch December 10, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants