Open renovate[bot] opened 2 weeks ago
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.07%. Comparing base (
4e206b8
) to head (1784f43
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
^1.5.0
->^2.1.5
Release Notes
vitest-dev/vitest (vitest)
### [`v2.1.5`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.5) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.4...v2.1.5) ##### 🚀 Features - **experimental**: Expose vite on the test project as a separate field - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(bcc59)](https://redirect.github.com/vitest-dev/vitest/commit/bcc59088) ##### 🐞 Bug Fixes - `dangerouslyIgnoreUnhandledErrors` without base reporter - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6808](https://redirect.github.com/vitest-dev/vitest/issues/6808) [(0bf0a)](https://redirect.github.com/vitest-dev/vitest/commit/0bf0ab00) - Capture `unhandledRejection` even when base reporter is not used - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6812](https://redirect.github.com/vitest-dev/vitest/issues/6812) [(8878b)](https://redirect.github.com/vitest-dev/vitest/commit/8878b04d) - Don't change the working directory when loading workspace projects - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6811](https://redirect.github.com/vitest-dev/vitest/issues/6811) [(f0aea)](https://redirect.github.com/vitest-dev/vitest/commit/f0aeaca8) - Remove `sequence.concurrent` from the `RuntimeConfig` type - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6880](https://redirect.github.com/vitest-dev/vitest/issues/6880) [(6af73)](https://redirect.github.com/vitest-dev/vitest/commit/6af73d93) - Stop the runner before restarting, restart on workspace config change - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6859](https://redirect.github.com/vitest-dev/vitest/issues/6859) [(b01df)](https://redirect.github.com/vitest-dev/vitest/commit/b01df47d) - Don't rerun on Esc or Ctrl-C during watch filter - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6895](https://redirect.github.com/vitest-dev/vitest/issues/6895) [(98f76)](https://redirect.github.com/vitest-dev/vitest/commit/98f76ea7) - Print ssrTransform error - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6885](https://redirect.github.com/vitest-dev/vitest/issues/6885) [(4c96c)](https://redirect.github.com/vitest-dev/vitest/commit/4c96cce7) - Throw an error and a warning if `.poll`, `.element`, `.rejects`/`.resolves`, and `locator.*` weren't awaited - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6877](https://redirect.github.com/vitest-dev/vitest/issues/6877) [(93b67)](https://redirect.github.com/vitest-dev/vitest/commit/93b67c24) - **browser**: - Don't process the default css styles - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6861](https://redirect.github.com/vitest-dev/vitest/issues/6861) [(0d67f)](https://redirect.github.com/vitest-dev/vitest/commit/0d67f04b) - Support non US key input - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6873](https://redirect.github.com/vitest-dev/vitest/issues/6873) [(5969d)](https://redirect.github.com/vitest-dev/vitest/commit/5969d8da) - Stop the browser rpc when the pool is closed - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6858](https://redirect.github.com/vitest-dev/vitest/issues/6858) [(9a0c9)](https://redirect.github.com/vitest-dev/vitest/commit/9a0c93d7) - Init browsers eagerly when tests are running - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6876](https://redirect.github.com/vitest-dev/vitest/issues/6876) [(417bd)](https://redirect.github.com/vitest-dev/vitest/commit/417bdb42) - **coverage**: - Report uncovered files when re-run by `enter` or `'a'` - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6848](https://redirect.github.com/vitest-dev/vitest/issues/6848) [(487c8)](https://redirect.github.com/vitest-dev/vitest/commit/487c80ae) - **ui**: - Remove crossorigin attributes for same origin assets - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6883](https://redirect.github.com/vitest-dev/vitest/issues/6883) [(6e793)](https://redirect.github.com/vitest-dev/vitest/commit/6e793c64) - **vite-node**: - Improve esm check to decide external - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6816](https://redirect.github.com/vitest-dev/vitest/issues/6816) [(7e1fa)](https://redirect.github.com/vitest-dev/vitest/commit/7e1faf3d) - Top-level throw in module is not reported properly - by [@vanaigr](https://redirect.github.com/vanaigr) and [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6840](https://redirect.github.com/vitest-dev/vitest/issues/6840) [(cf0cb)](https://redirect.github.com/vitest-dev/vitest/commit/cf0cbf6a) - **vitest**: - Use fetch() implementation from happy-dom - by [@capricorn86](https://redirect.github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/6879](https://redirect.github.com/vitest-dev/vitest/issues/6879) [(3c56f)](https://redirect.github.com/vitest-dev/vitest/commit/3c56feb4) ##### 🏎 Performance - Limit workspace project concurrency to available cores - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6869](https://redirect.github.com/vitest-dev/vitest/issues/6869) [(f4c04)](https://redirect.github.com/vitest-dev/vitest/commit/f4c04ab6) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.4...v2.1.5) ### [`v2.1.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4) ##### 🚀 Features - **browser**: Allow custom HTML path, respect plugins `transformIndexHtml` - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6725](https://redirect.github.com/vitest-dev/vitest/issues/6725) [(16902)](https://redirect.github.com/vitest-dev/vitest/commit/169028f0) ##### 🐞 Bug Fixes - Don't normalize drive case letter in root - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6792](https://redirect.github.com/vitest-dev/vitest/issues/6792) [(b28cd)](https://redirect.github.com/vitest-dev/vitest/commit/b28cd2e3) - **browser**: - Fix default browser port - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6700](https://redirect.github.com/vitest-dev/vitest/issues/6700) [(9c518)](https://redirect.github.com/vitest-dev/vitest/commit/9c518c14) - Optimize expect-type - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6713](https://redirect.github.com/vitest-dev/vitest/issues/6713) [(07918)](https://redirect.github.com/vitest-dev/vitest/commit/07918538) - Don't polyfill process.env - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6718](https://redirect.github.com/vitest-dev/vitest/issues/6718) [(da6d2)](https://redirect.github.com/vitest-dev/vitest/commit/da6d2ea7) - Increment browser port automatically if there are several projects with browser.enabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6717](https://redirect.github.com/vitest-dev/vitest/issues/6717) [(a9397)](https://redirect.github.com/vitest-dev/vitest/commit/a939779f) - Cleanup keyboard state - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6731](https://redirect.github.com/vitest-dev/vitest/issues/6731) [(19278)](https://redirect.github.com/vitest-dev/vitest/commit/19278f4c) - Don't add `v=` queries to setup files imports - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6759](https://redirect.github.com/vitest-dev/vitest/issues/6759) [(b8258)](https://redirect.github.com/vitest-dev/vitest/commit/b82584c9) - User event cleanup on retry - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6764](https://redirect.github.com/vitest-dev/vitest/issues/6764) [(bdd15)](https://redirect.github.com/vitest-dev/vitest/commit/bdd15dd1) - Ignore non mocked msw requests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6770](https://redirect.github.com/vitest-dev/vitest/issues/6770) [(9d9ba)](https://redirect.github.com/vitest-dev/vitest/commit/9d9bad5b) - Initiate MSW in the same frame as tests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6772](https://redirect.github.com/vitest-dev/vitest/issues/6772) [(2444f)](https://redirect.github.com/vitest-dev/vitest/commit/2444ff22) - **deps**: - Update dependency sirv to v3 - in [https://github.com/vitest-dev/vitest/issues/6701](https://redirect.github.com/vitest-dev/vitest/issues/6701) [(fde5d)](https://redirect.github.com/vitest-dev/vitest/commit/fde5d509) - **expect**: - Correct behavior of `toThrowError` with empty string parameter - by [@shulaoda](https://redirect.github.com/shulaoda) in [https://github.com/vitest-dev/vitest/issues/6710](https://redirect.github.com/vitest-dev/vitest/issues/6710) [(a6129)](https://redirect.github.com/vitest-dev/vitest/commit/a61293e9) - **mocker**: - Remove spy from peer dependencies - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6777](https://redirect.github.com/vitest-dev/vitest/issues/6777) [(3a8b5)](https://redirect.github.com/vitest-dev/vitest/commit/3a8b56bf) - **vitest**: - Clarify slowTestThreshold, print slow tests in non-TTY mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6715](https://redirect.github.com/vitest-dev/vitest/issues/6715) [(2e6aa)](https://redirect.github.com/vitest-dev/vitest/commit/2e6aa647) - Print warnings form Vite plugins - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6724](https://redirect.github.com/vitest-dev/vitest/issues/6724) [(121b1)](https://redirect.github.com/vitest-dev/vitest/commit/121b161f) - Don't fail if the working directory starts with a lowercase drive letter - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6779](https://redirect.github.com/vitest-dev/vitest/issues/6779) [(df6d7)](https://redirect.github.com/vitest-dev/vitest/commit/df6d750b) - Silence import analysis warning - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6785](https://redirect.github.com/vitest-dev/vitest/issues/6785) [(39041)](https://redirect.github.com/vitest-dev/vitest/commit/39041ee5) - **vitest,runner**: - Simplify `test.extend` type exports - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6707](https://redirect.github.com/vitest-dev/vitest/issues/6707) [(e5c38)](https://redirect.github.com/vitest-dev/vitest/commit/e5c388f0) ##### 🏎 Performance - Use `hash` to replace `createHash` - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/6703](https://redirect.github.com/vitest-dev/vitest/issues/6703) [(5d07b)](https://redirect.github.com/vitest-dev/vitest/commit/5d07bba6) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4) ### [`v2.1.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.2...v2.1.3) ##### 🐞 Bug Fixes - Fix error diff of `toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6697](https://redirect.github.com/vitest-dev/vitest/issues/6697) [(e0027)](https://redirect.github.com/vitest-dev/vitest/commit/e002758c) - **browser**: - Provide aria role intellisense - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6629](https://redirect.github.com/vitest-dev/vitest/issues/6629) [(f36ea)](https://redirect.github.com/vitest-dev/vitest/commit/f36eac77) - Not.toBeInTheDocument works with locators API - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6634](https://redirect.github.com/vitest-dev/vitest/issues/6634) [(8bef5)](https://redirect.github.com/vitest-dev/vitest/commit/8bef5d2b) - Use `/mockServiceWorker.js` instead of `/__vitest_msw__` - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6687](https://redirect.github.com/vitest-dev/vitest/issues/6687) [(4b2ce)](https://redirect.github.com/vitest-dev/vitest/commit/4b2ce07f) - Don't override the esbuild option in the browser mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6692](https://redirect.github.com/vitest-dev/vitest/issues/6692) [(d131f)](https://redirect.github.com/vitest-dev/vitest/commit/d131fd64) - **expect**: - Preserve prototype in `toMatchObject` diff - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6620](https://redirect.github.com/vitest-dev/vitest/issues/6620) [(d289e)](https://redirect.github.com/vitest-dev/vitest/commit/d289e7eb) - **mocker**: - Specify correct spy dependency - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(7e958)](https://redirect.github.com/vitest-dev/vitest/commit/7e9584aa) - **runner**: - Ensure sequential suite overrides sequence.concurrent - by [@dsyddall](https://redirect.github.com/dsyddall) and [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6653](https://redirect.github.com/vitest-dev/vitest/issues/6653) [(5e6de)](https://redirect.github.com/vitest-dev/vitest/commit/5e6de274) - **vitest**: - Deprecate UserConfig in favor of ViteUserConfig - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6626](https://redirect.github.com/vitest-dev/vitest/issues/6626) [(496bd)](https://redirect.github.com/vitest-dev/vitest/commit/496bd251) - Don't hang with maxConcurrency 0 - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6627](https://redirect.github.com/vitest-dev/vitest/issues/6627) [(946d8)](https://redirect.github.com/vitest-dev/vitest/commit/946d8bb1) - Deprecate old task types and node-reliant types - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6632](https://redirect.github.com/vitest-dev/vitest/issues/6632) [(00045)](https://redirect.github.com/vitest-dev/vitest/commit/000459a9) - Fix `Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.