advanced-patterns-workshop
advanced-patterns-workshop copied to clipboard
chore(deps): update dependency vitest to v2.1.4
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| vitest (source) | 2.1.1 -> 2.1.4 |
Release Notes
vitest-dev/vitest (vitest)
v2.1.4
🚀 Features
- browser: Allow custom HTML path, respect plugins
transformIndexHtml- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6725 (16902)
🐞 Bug Fixes
- Don't normalize drive case letter in root - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6792 (b28cd)
- browser:
- Fix default browser port - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6700 (9c518)
- Optimize expect-type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6713 (07918)
- Don't polyfill process.env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6718 (da6d2)
- Increment browser port automatically if there are several projects with browser.enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6717 (a9397)
- Cleanup keyboard state - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6731 (19278)
- Don't add
v=queries to setup files imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6759 (b8258) - User event cleanup on retry - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6764 (bdd15)
- Ignore non mocked msw requests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6770 (9d9ba)
- Initiate MSW in the same frame as tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6772 (2444f)
- deps:
- Update dependency sirv to v3 - in https://github.com/vitest-dev/vitest/issues/6701 (fde5d)
- expect:
- Correct behavior of
toThrowErrorwith empty string parameter - by @shulaoda in https://github.com/vitest-dev/vitest/issues/6710 (a6129)
- Correct behavior of
- mocker:
- Remove spy from peer dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6777 (3a8b5)
- vitest:
- Clarify slowTestThreshold, print slow tests in non-TTY mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6715 (2e6aa)
- Print warnings form Vite plugins - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6724 (121b1)
- Don't fail if the working directory starts with a lowercase drive letter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6779 (df6d7)
- Silence import analysis warning - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6785 (39041)
- vitest,runner:
- Simplify
test.extendtype exports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6707 (e5c38)
- Simplify
🏎 Performance
- Use
hashto replacecreateHash- by @btea in https://github.com/vitest-dev/vitest/issues/6703 (5d07b)
View changes on GitHub
v2.1.3
🐞 Bug Fixes
- Fix error diff of
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 (e0027) - browser:
- Provide aria role intellisense - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6629 (f36ea)
- Not.toBeInTheDocument works with locators API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6634 (8bef5)
- Use
/mockServiceWorker.jsinstead of/__vitest_msw__- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 (4b2ce) - Don't override the esbuild option in the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6692 (d131f)
- expect:
- Preserve prototype in
toMatchObjectdiff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 (d289e)
- Preserve prototype in
- mocker:
- Specify correct spy dependency - by @sheremet-va (7e958)
- runner:
- Ensure sequential suite overrides sequence.concurrent - by @dsyddall and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6653 (5e6de)
- vitest:
- Deprecate UserConfig in favor of ViteUserConfig - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6626 (496bd)
- Don't hang with maxConcurrency 0 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6627 (946d8)
- Deprecate old task types and node-reliant types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6632 (00045)
- Fix
<empty line>logs when interleavingconsole.log/error- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6644 (9ece3) - Show rollup error details as test error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6686 (47dde)
- Always inline setup files - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6689 (19d64)
- Use
fast-globinstead oftinyglobbyin Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6688 (70baa)
- web-worker:
- Share mocker with main executor - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6623 (fe7b8)
🏎 Performance
- Reuse full name in reported tasks, update generator types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6666 (7a0de)
View changes on GitHub
v2.1.2
🐞 Bug Fixes
- Move
Vitest.setServerto postconfigureServerhook to enable import analysis for workspace config loading - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6584 (e7f35) - benchmark:
- Clear
BenchmarkResult.samplesarray to reduce memory usage - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6541 (a6407)
- Clear
- browser:
- Fix dynamic import inside worker - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6569 (ea2d4)
- Fix browser mock factory event race condition - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6530 (f131f)
- Serve ui assets as static - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6564 (adcda)
- Update solidjs testing library lib - by @CamilleTeruel in https://github.com/vitest-dev/vitest/issues/6548 (91442)
- Use
data:protocol on preview provider file upload - by @userquin in https://github.com/vitest-dev/vitest/issues/6501 (e9821) - Fix base for client script - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6510 (f9528)
- Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6570 (383f1)
- coverage:
- Remove empty coverage folder on test failure too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6547 (1371c)
- Include
*.astroby default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6565 (f8ff7) cleanOnRerun: falseto invalidate previous results - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6592 (88bde)
- expect:
- Fix
toBeDefinedwithexpect.poll- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6562 (f7da6)
- Fix
- runner:
- Mark tests as skipped when
beforeAllfailed - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6524 (fb797) - Support fixture parsing of lowered async syntax - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6531 (b553c)
- Fix fixture parsing of lowered async syntax for non arrow functions - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6575 (3de00)
- Guard test hook callback - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6604 (14971)
- Run
onTestFinishedandonTestFailedduringretryandrepeats- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6609 (c5e29)
- Mark tests as skipped when
- ui:
- List tests on ui when
--standalone- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6577 (d0bf8)
- List tests on ui when
- vite-node:
- Fix esm false-detection inside comment - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6506 (91f85)
- vitest:
- Install dependencies with the same version when prompted - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6611 (ed8b7)
- Make env.SSR consistent between different pools - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6616 (8a8d3)
- Don't start a websocket server if api is disabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6617 (82140)
- workspace:
- Fix glob pattern detection - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6502 (7727c)
- Ignore DS_Store by default - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6571 (d2a86)
View changes on GitHub
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.