Skip to content

Comments

fix: indicator position of error message#3855

Merged
sheremet-va merged 7 commits intovitest-dev:mainfrom
fenghan34:fix/indicator-position
Aug 3, 2023
Merged

fix: indicator position of error message#3855
sheremet-va merged 7 commits intovitest-dev:mainfrom
fenghan34:fix/indicator-position

Conversation

@fenghan34
Copy link
Contributor

@fenghan34 fenghan34 commented Aug 1, 2023

Description

Fixes #3766

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@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 Aug 1, 2023

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
🔨 Latest commit 51d6c46
🔍 Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/64ca36b7f7cb6d0008968f4f
😎 Deploy Preview https://deploy-preview-3855--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

@sheremet-va sheremet-va left a comment

Choose a reason for hiding this comment

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

Please, add a test. And don't remove the PR description

@fenghan34
Copy link
Contributor Author

It seems that I can't push CRLF formatted files. How can I add tests for this, Do you have any suggestions? @sheremet-va

@sheremet-va
Copy link
Member

It seems that I can't push CRLF formatted files. How can I add tests for this, Do you have any suggestions? @sheremet-va

I don't know what you mean by "I can't push CRLF formatted files". Is it an eslint rule? You can disable it in a single file.

@sheremet-va
Copy link
Member

You can also just test a single function call.

@fenghan34
Copy link
Contributor Author

I don't know what you mean by "I can't push CRLF formatted files"

It's not eslint rule. This issue relates to CRLF format, see #3766 (comment).

To add a test, I need to create a CRLF format test file, but we have the .gitattributes config, and it tells git to normalize all line endings to LF.

@fenghan34
Copy link
Contributor Author

You can also just test a single function call.

What do you mean by "test a single function call"?

@fenghan34
Copy link
Contributor Author

Can I add a line to .gitattributes? Seems like we can specify a single file in CRLF format

@sheremet-va
Copy link
Member

Can I add a line to .gitattributes? Seems like we can specify a single file in CRLF format

Sure

@fenghan34 fenghan34 requested a review from sheremet-va August 2, 2023 01:58
@sheremet-va
Copy link
Member

LGTM 👍

@mcavigelli
Copy link

Thanks a lot for the fix!

renovate bot referenced this pull request in fwouts/previewjs Aug 17, 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.34.1` ->
`^0.34.2`](https://renovatebot.com/diffs/npm/vitest/0.34.1/0.34.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.1/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.1/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- Allow importing CSS and assets inside external dependencies when using
`--experimental-vm-threads`  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880)
[<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f)
- **vitest**: Allow calling `ctx.skip()` inside the running test  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966)
[<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5)

#####    🐞 Bug Fixes

- Don't bundle utils' source-map entry  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865)
[<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993)
- Reduce the memory consumption when running --experimental-vm-threads
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872)
[<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88)
- Indicator position of error message  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855)
[<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f)
- Don't crash when using --experimental-vm-threads, interop CJS default
inside node_modules  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876)
[<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098)
- Don't crash if total memory is not supported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879)
[<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8)
- Check memory and limit value  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38)
- Update module warning as it is moved into server config  -  by
[@&#8203;jellyfishgh](https://togithub.com/jellyfishgh) in
[https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931)
[<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c)
- Define process variable and using import.meta.env together did not
work  -  by [@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944)
[<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed)
- Correctly resolve config in a workspace  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947)
[<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da)
- Don't crash when calling useFakeTimers in VM pool  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958)
[<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853)
- Restrict access to file system via API  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956)
[<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51)
- Typo of mocks plugin name  -  by
[@&#8203;antfu](https://togithub.com/antfu)
[<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2)
- Build not generated `execute.d.ts`  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970)
[<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7)
-   **css**:
- Don't mock css-module if `?inline` query is specified  -  by
[@&#8203;thebanjomatic](https://togithub.com/thebanjomatic) and **Adam
Hines** in
[https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952)
[<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055)
-   **expect**:
- Correctly show async matcher diff  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960)
[<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8)
-   **snapshots**:
- Update inline snapshot correctly  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887)
[<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27)
-   **ui**:
- Incorrect duration time in vitest ui  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945)
[<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2)
- Add support for ui coverage with subdir option  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917)
[<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1)
-   **vitest**:
- Use esm module resolution to resolve env  -  by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951)
[<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe)
- Allow rewriting process.env.NODE_MODE when using web transform mode
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957)
[<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f)
- Only consider cwd when using glob  -  by
[@&#8203;g-plane](https://togithub.com/g-plane) in
[https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802)
and
[https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949)
[<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d)
- Pass environmentOptions to happy-dom integration  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and **Raul de
Melo** in
[https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972)
[<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647)
-   **web**:
- Correctly resolve assets in new URL  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950)
[<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4)

#####    🏎 Performance

- **dot-renderer**: Speed up getTests  -  by
[@&#8203;gtm-nayan](https://togithub.com/gtm-nayan) in
[https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923)
[<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7)

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

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
David-Duefrene referenced this pull request in David-Duefrene/dataviewer Aug 19, 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.34.1` ->
`0.34.2`](https://renovatebot.com/diffs/npm/vitest/0.34.1/0.34.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.1/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.1/0.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- Allow importing CSS and assets inside external dependencies when using
`--experimental-vm-threads`  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880)
[<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f)
- **vitest**: Allow calling `ctx.skip()` inside the running test  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966)
[<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5)

#####    🐞 Bug Fixes

- Don't bundle utils' source-map entry  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865)
[<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993)
- Reduce the memory consumption when running --experimental-vm-threads
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872)
[<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88)
- Indicator position of error message  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855)
[<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f)
- Don't crash when using --experimental-vm-threads, interop CJS default
inside node_modules  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876)
[<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098)
- Don't crash if total memory is not supported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879)
[<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8)
- Check memory and limit value  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38)
- Update module warning as it is moved into server config  -  by
[@&#8203;jellyfishgh](https://togithub.com/jellyfishgh) in
[https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931)
[<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c)
- Define process variable and using import.meta.env together did not
work  -  by [@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944)
[<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed)
- Correctly resolve config in a workspace  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947)
[<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da)
- Don't crash when calling useFakeTimers in VM pool  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958)
[<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853)
- Restrict access to file system via API  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956)
[<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51)
- Typo of mocks plugin name  -  by
[@&#8203;antfu](https://togithub.com/antfu)
[<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2)
- Build not generated `execute.d.ts`  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970)
[<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7)
-   **css**:
- Don't mock css-module if `?inline` query is specified  -  by
[@&#8203;thebanjomatic](https://togithub.com/thebanjomatic) and **Adam
Hines** in
[https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952)
[<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055)
-   **expect**:
- Correctly show async matcher diff  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960)
[<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8)
-   **snapshots**:
- Update inline snapshot correctly  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887)
[<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27)
-   **ui**:
- Incorrect duration time in vitest ui  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945)
[<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2)
- Add support for ui coverage with subdir option  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917)
[<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1)
-   **vitest**:
- Use esm module resolution to resolve env  -  by
[@&#8203;danielroe](https://togithub.com/danielroe) in
[https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951)
[<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe)
- Allow rewriting process.env.NODE_MODE when using web transform mode
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957)
[<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f)
- Only consider cwd when using glob  -  by
[@&#8203;g-plane](https://togithub.com/g-plane) in
[https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802)
and
[https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949)
[<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d)
- Pass environmentOptions to happy-dom integration  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and **Raul de
Melo** in
[https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972)
[<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647)
-   **web**:
- Correctly resolve assets in new URL  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950)
[<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4)

#####    🏎 Performance

- **dot-renderer**: Speed up getTests  -  by
[@&#8203;gtm-nayan](https://togithub.com/gtm-nayan) in
[https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923)
[<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7)

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

</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, 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/David-Duefrene/dataviewer).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in slipmatio/ui Aug 21, 2023