Skip to content

Commit 4ee6e93

Browse files
chore(deps-dev): bump vitest and @vitest/browser (#189)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) and [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser). These dependencies needed to be updated together. Updates `vitest` from 3.2.4 to 4.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> <blockquote> <h2>v4.0.10</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Remove <code>onCancel</code> when worker is terminated  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9033">vitest-dev/vitest#9033</a> <a href="https://github.com/vitest-dev/vitest/commit/6d7f0a99e"><!-- raw HTML omitted -->(6d7f0)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Don't scale the iframe if UI is disabled  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9018">vitest-dev/vitest#9018</a> <a href="https://github.com/vitest-dev/vitest/commit/5406e8ea4"><!-- raw HTML omitted -->(5406e)<!-- raw HTML omitted --></a></li> <li>Handle dependency stack traces with external source maps. Resolves: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9003">#9003</a>  -  by <a href="https://github.com/iclectic"><code>@​iclectic</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9016">vitest-dev/vitest#9016</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9003">vitest-dev/vitest#9003</a> <a href="https://github.com/vitest-dev/vitest/commit/57ae547de"><!-- raw HTML omitted -->(57ae5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>bun</strong>: <ul> <li>Parsing of stack trace for bun runtime  -  by <a href="https://github.com/nazarhussain"><code>@​nazarhussain</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9032">vitest-dev/vitest#9032</a> <a href="https://github.com/vitest-dev/vitest/commit/f3ec6fcb0"><!-- raw HTML omitted -->(f3ec6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>core</strong>: <ul> <li>Prevent starting new run when cancelling  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8991">vitest-dev/vitest#8991</a> <a href="https://github.com/vitest-dev/vitest/commit/eb98dd8fd"><!-- raw HTML omitted -->(eb98d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>pool</strong>: <ul> <li>Prevent writing to closed worker  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9023">vitest-dev/vitest#9023</a> <a href="https://github.com/vitest-dev/vitest/commit/042c60c80"><!-- raw HTML omitted -->(042c6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>reporters</strong>: <ul> <li>Report correct test run duration at the end  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8969">vitest-dev/vitest#8969</a> <a href="https://github.com/vitest-dev/vitest/commit/bc3a6921e"><!-- raw HTML omitted -->(bc3a6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Use execution time from ws reporter (<code>onFinished</code>)  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8975">vitest-dev/vitest#8975</a> <a href="https://github.com/vitest-dev/vitest/commit/f56dc0cc4"><!-- raw HTML omitted -->(f56dc)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.9...v4.0.10">View changes on GitHub</a></h5> <h2>v4.0.9</h2> <h3>   🚀 Experimental Features</h3> <ul> <li><strong>expect</strong>: Add Set support to toBeOneOf  -  by <a href="https://github.com/tim-we"><code>@​tim-we</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8906">vitest-dev/vitest#8906</a> <a href="https://github.com/vitest-dev/vitest/commit/a415d0375"><!-- raw HTML omitted -->(a415d)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li><strong>browser</strong>: Add favicon icons to the browser mode ui  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8972">vitest-dev/vitest#8972</a> <a href="https://github.com/vitest-dev/vitest/commit/353ee5bbc"><!-- raw HTML omitted -->(353ee)<!-- raw HTML omitted --></a></li> <li><strong>forks</strong>: Increase worker start timeout  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9027">vitest-dev/vitest#9027</a> <a href="https://github.com/vitest-dev/vitest/commit/5e750f4ba"><!-- raw HTML omitted -->(5e750)<!-- raw HTML omitted --></a></li> <li><strong>jsdom</strong>: Cloned request is an instance of <code>Request</code>  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8985">vitest-dev/vitest#8985</a> <a href="https://github.com/vitest-dev/vitest/commit/506a9fd0f"><!-- raw HTML omitted -->(506a9)<!-- raw HTML omitted --></a></li> <li><strong>ui</strong>: Collect file/suite/test duration correctly  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8976">vitest-dev/vitest#8976</a> <a href="https://github.com/vitest-dev/vitest/commit/8016da886"><!-- raw HTML omitted -->(8016d)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.8...v4.0.9">View changes on GitHub</a></h5> <h2>v4.0.8</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Workaround <code>noExternal</code> merging bug on Vite 6  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8950">vitest-dev/vitest#8950</a> <a href="https://github.com/vitest-dev/vitest/commit/bcb132fd4"><!-- raw HTML omitted -->(bcb13)<!-- raw HTML omitted --></a></li> <li>Missed context.d.ts file  -  by <a href="https://github.com/termorey"><code>@​termorey</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8965">vitest-dev/vitest#8965</a> <a href="https://github.com/vitest-dev/vitest/commit/9044d9356"><!-- raw HTML omitted -->(9044d)<!-- raw HTML omitted --></a></li> <li>Incorrect error message for non-awaited <code>expect.element()</code>  -  by <a href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8954">vitest-dev/vitest#8954</a> <a href="https://github.com/vitest-dev/vitest/commit/9638db0f3"><!-- raw HTML omitted -->(9638d)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: Cleanup frame-ancestors from CSP header at coverage middleware  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8941">vitest-dev/vitest#8941</a> <a href="https://github.com/vitest-dev/vitest/commit/1f7303738"><!-- raw HTML omitted -->(1f730)<!-- raw HTML omitted --></a></li> <li><strong>deps</strong>: Update all non-major dependencies  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8636">vitest-dev/vitest#8636</a> <a href="https://github.com/vitest-dev/vitest/commit/da8b93aa5"><!-- raw HTML omitted -->(da8b9)<!-- raw HTML omitted --></a></li> <li><strong>forks</strong>: Do not fail with Windows Defender enabled  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8967">vitest-dev/vitest#8967</a> <a href="https://github.com/vitest-dev/vitest/commit/c79f47c65"><!-- raw HTML omitted -->(c79f4)<!-- raw HTML omitted --></a></li> <li><strong>runner</strong>: Properly encode Uint8Array body in annotations  -  by <a href="https://github.com/Livan-pro"><code>@​Livan-pro</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8951">vitest-dev/vitest#8951</a> <a href="https://github.com/vitest-dev/vitest/commit/997ca5a82"><!-- raw HTML omitted -->(997ca)<!-- raw HTML omitted --></a></li> <li><strong>spy</strong>: Copy static properties if spy is initialised with <code>vi.fn()</code>, fix types for <code>vi.spyOn(obj, class)</code>  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8956">vitest-dev/vitest#8956</a> <a href="https://github.com/vitest-dev/vitest/commit/75e7fcc51"><!-- raw HTML omitted -->(75e7f)<!-- raw HTML omitted --></a></li> <li><strong>webdriverio</strong>: When no argument is passed to the .click interaction command, the webdriver command should also have no argument  -  by <a href="https://github.com/julienw"><code>@​julienw</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8937">vitest-dev/vitest#8937</a> <a href="https://github.com/vitest-dev/vitest/commit/069e6db9b"><!-- raw HTML omitted -->(069e6)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.7...v4.0.8">View changes on GitHub</a></h5> <h2>v4.0.7</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/259a3d1b563ecafa51ced4641218545dab635be7"><code>259a3d1</code></a> chore: release v4.0.10</li> <li><a href="https://github.com/vitest-dev/vitest/commit/bc3a6921e2782a55a192802891feee84f50ec283"><code>bc3a692</code></a> fix(reporters): report correct test run duration at the end (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8969">#8969</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/f3ec6fcb0abc4bc44b6511423a24587dfbbad47a"><code>f3ec6fc</code></a> fix(bun): parsing of stack trace for bun runtime (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9032">#9032</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/042c60c80ab20f0e6c5b759b875f51602a4dc621"><code>042c60c</code></a> fix(pool): prevent writing to closed worker (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9023">#9023</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/80f2bb6d8992aa54f1c5992c4269c3e117263487"><code>80f2bb6</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9037">#9037</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/eb98dd8fd29e5e0b1f5c8741b7744fdb7a99f9a2"><code>eb98dd8</code></a> fix(core): prevent starting new run when cancelling (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8991">#8991</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/f509d2ab9f2c88aca48113d775297fd1eabac063"><code>f509d2a</code></a> chore(deps): update dependency <code>@​types/node</code> to v24 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9038">#9038</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/44dca5fb432ef9213a0d44a2794f9a404fcc4f03"><code>44dca5f</code></a> chore: print a better error when browser orchestrator fails to run a test (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8">#8</a>...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/f56dc0cc4c2c0e61bada9500208de6e56d4b434e"><code>f56dc0c</code></a> fix(ui): use execution time from ws reporter (<code>onFinished</code>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8975">#8975</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/7c9edffb055546390379c7c97ad7cff70e1d6891"><code>7c9edff</code></a> refactor(forks): simplify IPC channel serialization (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8999">#8999</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.10/packages/vitest">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for vitest since your current version.</p> </details> <br /> Updates `@vitest/browser` from 3.2.4 to 4.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases"><code>@​vitest/browser</code>'s releases</a>.</em></p> <blockquote> <h2>v4.0.10</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Remove <code>onCancel</code> when worker is terminated  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9033">vitest-dev/vitest#9033</a> <a href="https://github.com/vitest-dev/vitest/commit/6d7f0a99e"><!-- raw HTML omitted -->(6d7f0)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Don't scale the iframe if UI is disabled  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9018">vitest-dev/vitest#9018</a> <a href="https://github.com/vitest-dev/vitest/commit/5406e8ea4"><!-- raw HTML omitted -->(5406e)<!-- raw HTML omitted --></a></li> <li>Handle dependency stack traces with external source maps. Resolves: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/9003">#9003</a>  -  by <a href="https://github.com/iclectic"><code>@​iclectic</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9016">vitest-dev/vitest#9016</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9003">vitest-dev/vitest#9003</a> <a href="https://github.com/vitest-dev/vitest/commit/57ae547de"><!-- raw HTML omitted -->(57ae5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>bun</strong>: <ul> <li>Parsing of stack trace for bun runtime  -  by <a href="https://github.com/nazarhussain"><code>@​nazarhussain</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9032">vitest-dev/vitest#9032</a> <a href="https://github.com/vitest-dev/vitest/commit/f3ec6fcb0"><!-- raw HTML omitted -->(f3ec6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>core</strong>: <ul> <li>Prevent starting new run when cancelling  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8991">vitest-dev/vitest#8991</a> <a href="https://github.com/vitest-dev/vitest/commit/eb98dd8fd"><!-- raw HTML omitted -->(eb98d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>pool</strong>: <ul> <li>Prevent writing to closed worker  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9023">vitest-dev/vitest#9023</a> <a href="https://github.com/vitest-dev/vitest/commit/042c60c80"><!-- raw HTML omitted -->(042c6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>reporters</strong>: <ul> <li>Report correct test run duration at the end  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8969">vitest-dev/vitest#8969</a> <a href="https://github.com/vitest-dev/vitest/commit/bc3a6921e"><!-- raw HTML omitted -->(bc3a6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Use execution time from ws reporter (<code>onFinished</code>)  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8975">vitest-dev/vitest#8975</a> <a href="https://github.com/vitest-dev/vitest/commit/f56dc0cc4"><!-- raw HTML omitted -->(f56dc)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.9...v4.0.10">View changes on GitHub</a></h5> <h2>v4.0.9</h2> <h3>   🚀 Experimental Features</h3> <ul> <li><strong>expect</strong>: Add Set support to toBeOneOf  -  by <a href="https://github.com/tim-we"><code>@​tim-we</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8906">vitest-dev/vitest#8906</a> <a href="https://github.com/vitest-dev/vitest/commit/a415d0375"><!-- raw HTML omitted -->(a415d)<!-- raw HTML omitted --></a></li> </ul> <h3>   🐞 Bug Fixes</h3> <ul> <li><strong>browser</strong>: Add favicon icons to the browser mode ui  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8972">vitest-dev/vitest#8972</a> <a href="https://github.com/vitest-dev/vitest/commit/353ee5bbc"><!-- raw HTML omitted -->(353ee)<!-- raw HTML omitted --></a></li> <li><strong>forks</strong>: Increase worker start timeout  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9027">vitest-dev/vitest#9027</a> <a href="https://github.com/vitest-dev/vitest/commit/5e750f4ba"><!-- raw HTML omitted -->(5e750)<!-- raw HTML omitted --></a></li> <li><strong>jsdom</strong>: Cloned request is an instance of <code>Request</code>  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8985">vitest-dev/vitest#8985</a> <a href="https://github.com/vitest-dev/vitest/commit/506a9fd0f"><!-- raw HTML omitted -->(506a9)<!-- raw HTML omitted --></a></li> <li><strong>ui</strong>: Collect file/suite/test duration correctly  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8976">vitest-dev/vitest#8976</a> <a href="https://github.com/vitest-dev/vitest/commit/8016da886"><!-- raw HTML omitted -->(8016d)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.8...v4.0.9">View changes on GitHub</a></h5> <h2>v4.0.8</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Workaround <code>noExternal</code> merging bug on Vite 6  -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8950">vitest-dev/vitest#8950</a> <a href="https://github.com/vitest-dev/vitest/commit/bcb132fd4"><!-- raw HTML omitted -->(bcb13)<!-- raw HTML omitted --></a></li> <li>Missed context.d.ts file  -  by <a href="https://github.com/termorey"><code>@​termorey</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8965">vitest-dev/vitest#8965</a> <a href="https://github.com/vitest-dev/vitest/commit/9044d9356"><!-- raw HTML omitted -->(9044d)<!-- raw HTML omitted --></a></li> <li>Incorrect error message for non-awaited <code>expect.element()</code>  -  by <a href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8954">vitest-dev/vitest#8954</a> <a href="https://github.com/vitest-dev/vitest/commit/9638db0f3"><!-- raw HTML omitted -->(9638d)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: Cleanup frame-ancestors from CSP header at coverage middleware  -  by <a href="https://github.com/userquin"><code>@​userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8941">vitest-dev/vitest#8941</a> <a href="https://github.com/vitest-dev/vitest/commit/1f7303738"><!-- raw HTML omitted -->(1f730)<!-- raw HTML omitted --></a></li> <li><strong>deps</strong>: Update all non-major dependencies  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8636">vitest-dev/vitest#8636</a> <a href="https://github.com/vitest-dev/vitest/commit/da8b93aa5"><!-- raw HTML omitted -->(da8b9)<!-- raw HTML omitted --></a></li> <li><strong>forks</strong>: Do not fail with Windows Defender enabled  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8967">vitest-dev/vitest#8967</a> <a href="https://github.com/vitest-dev/vitest/commit/c79f47c65"><!-- raw HTML omitted -->(c79f4)<!-- raw HTML omitted --></a></li> <li><strong>runner</strong>: Properly encode Uint8Array body in annotations  -  by <a href="https://github.com/Livan-pro"><code>@​Livan-pro</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8951">vitest-dev/vitest#8951</a> <a href="https://github.com/vitest-dev/vitest/commit/997ca5a82"><!-- raw HTML omitted -->(997ca)<!-- raw HTML omitted --></a></li> <li><strong>spy</strong>: Copy static properties if spy is initialised with <code>vi.fn()</code>, fix types for <code>vi.spyOn(obj, class)</code>  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8956">vitest-dev/vitest#8956</a> <a href="https://github.com/vitest-dev/vitest/commit/75e7fcc51"><!-- raw HTML omitted -->(75e7f)<!-- raw HTML omitted --></a></li> <li><strong>webdriverio</strong>: When no argument is passed to the .click interaction command, the webdriver command should also have no argument  -  by <a href="https://github.com/julienw"><code>@​julienw</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8937">vitest-dev/vitest#8937</a> <a href="https://github.com/vitest-dev/vitest/commit/069e6db9b"><!-- raw HTML omitted -->(069e6)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v4.0.7...v4.0.8">View changes on GitHub</a></h5> <h2>v4.0.7</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/259a3d1b563ecafa51ced4641218545dab635be7"><code>259a3d1</code></a> chore: release v4.0.10</li> <li><a href="https://github.com/vitest-dev/vitest/commit/57ae547de0987401988532bda39e1c0ca3dded52"><code>57ae547</code></a> fix(browser): handle dependency stack traces with external source maps. Resol...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/44dca5fb432ef9213a0d44a2794f9a404fcc4f03"><code>44dca5f</code></a> chore: print a better error when browser orchestrator fails to run a test (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/8">#8</a>...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/62fab2443132a62327cbb937573f29cfc7a9820c"><code>62fab24</code></a> chore: release v4.0.9</li> <li><a href="https://github.com/vitest-dev/vitest/commit/353ee5bbcb9e1fad3147e067cd8ba1b10ba71da2"><code>353ee5b</code></a> fix(browser): add favicon icons to the browser mode ui (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/8972">#8972</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/46bfd0983d3ed5362592e0e94af4173164440ffe"><code>46bfd09</code></a> chore: release v4.0.8</li> <li><a href="https://github.com/vitest-dev/vitest/commit/9638db0f3ef7274621f35c4d504ff42140bb02ac"><code>9638db0</code></a> fix: incorrect error message for non-awaited <code>expect.element()</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/8954">#8954</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/9a9323b7378b8a3e4072b7280a876a3caf53eb31"><code>9a9323b</code></a> chore(deps): update dependency <code>@​antfu/eslint-config</code> to v6 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/8832">#8832</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/65292c365584efa71b6a837ac24967aeaa77f9bb"><code>65292c3</code></a> docs: update structure (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser/issues/8625">#8625</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/069e6db9bd42124cb926eabec9481b6a91f15382"><code>069e6db</code></a> fix(webdriverio): When no argument is passed to the .click interaction comman...</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.10/packages/browser">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@​vitest/browser</code> since your current version.</p> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pete Gadomski <[email protected]>
1 parent 1c29637 commit 4ee6e93

File tree

3 files changed

+127
-229
lines changed

3 files changed

+127
-229
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
"@types/react": "^19.1.2",
6868
"@types/react-dom": "^19.1.2",
6969
"@vitejs/plugin-react": "^4.4.1",
70-
"@vitest/browser": "^3.2.4",
70+
"@vitest/browser": "^4.0.10",
71+
"@vitest/browser-playwright": "^4.0.10",
7172
"conventional-changelog-conventionalcommits": "^9.1.0",
7273
"eslint": "^9.25.0",
7374
"eslint-plugin-react-hooks": "^5.2.0",
@@ -82,7 +83,7 @@
8283
"vite-plugin-top-level-await": "^1.5.0",
8384
"vite-plugin-wasm": "^3.5.0",
8485
"vite-tsconfig-paths": "^5.1.4",
85-
"vitest": "^3.2.4",
86+
"vitest": "^4.0.10",
8687
"vitest-browser-react": "^1.0.1"
8788
},
8889
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"

vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import react from "@vitejs/plugin-react";
2+
import { playwright } from "@vitest/browser-playwright";
23
import wasm from "vite-plugin-wasm";
34
import { defineConfig } from "vitest/config";
45

@@ -10,7 +11,7 @@ export default defineConfig({
1011
test: {
1112
browser: {
1213
enabled: true,
13-
provider: "playwright",
14+
provider: playwright(),
1415
headless: true,
1516
instances: [
1617
{

0 commit comments

Comments
 (0)