chore(deps): update vitest monorepo to v5.0.5
Closed
RE
15d ago+114+114+012345678901234567890123456789-114-114-012345678901234567890123456789
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @vitest/browser-playwright (source) | 5.0.3 → 5.0.5 | ||
| @vitest/coverage-v8 (source) | 5.0.3 → 5.0.5 | ||
| vitest (source) | 5.0.3 → 5.0.5 |
Release Notes
vitest-dev/vitest (@vitest/browser-playwright)
v5.0.5
🐞 Bug Fixes
- Keep vite default
fs.denywith api token file - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11578 (28dc1) - Handle quoted file names in
--changed- by @sheremet-va in #11583 (14921) - Add
datato theimport.meta.hotstub - by @sheremet-va in #11590 (3a828) - Set
skipinskipIf, ignoreundefinedoptions - by @sheremet-va in #11591 (d523a) - Skip builtin loading in async leak detector - by @sheremet-va in #11598 (fe86a)
- Keep the import frame in native loader errors - by @sheremet-va in #11599 (9697b)
- Run hook cleanups when a later hook fails - by @sheremet-va in #11605 (6c5a4)
- Release mocks of finished test files - by @sheremet-va in #11607 (e9c3d)
- Abort all running tests on cancel - by @sheremet-va in #11606 (6621a)
- browser:
- Ignore synthetic pagehide events - by @sheremet-va in #11582 (ca081)
- Run plugin buildStart on server creation - by @sheremet-va in #11593 (ea611)
- Drop late connections of closed sessions - by @sheremet-va in #11600 (f161e)
- Wait 30s for the browser to close - by @sheremet-va in #11601 (6498b)
- Run global setup once with instances - by @sheremet-va in #11596 (8dd67)
- reporter:
- End reason
&#​39;failed&#​39;on worker crash - by @AriPerkkio in #11568 (6ae8e)
- End reason
View changes on GitHub
v5.0.4
🚀 Features
- experimental:
- Tag cache directories with CACHEDIR.TAG - by @lifeiscontent in #11461 (a8ea3)
- Support
test.ui.themeoption - by @sheremet-va in #11499 (1da66) - Highlight selector multiple matches in trace view - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11489 (5abba)
- Print how many tests were affected and a total when running
--changed- by @sheremet-va in #11424 (a2336) - Add an option to cache dependencies instead of statically parsing them - by @sheremet-va in #11515 (c0601)
- Add fit and zoom controls to trace viewer - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11490 (f5dd9)
🐞 Bug Fixes
- Fail the run on git and location filter errors - by @sheremet-va in #11430 (30d03)
- Enable fsModuleCache by default - by @sheremet-va in #11435 (ad208)
- Track project files and mocks with --changed - by @sheremet-va in #11432 (b0f2b)
- Refactor caching, fix
:in project and change the shape ofresultscache - by @sheremet-va in #11453 (9673c) - Keep full
$string values whentaskTitleValueFormatTruncateis 0 - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11485 (4f7e1) - Resolve node builtins in client environments - by @sheremet-va in #11417 (56b31)
- Fix module graph builtin externals after #11421 - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11491 and #11421 (008e1)
- Wrap module mocks during in-source testing - by @sheremet-va in #11505 (36d19)
- Handle line endings in snapshot - by @sheremet-va in #11522 (4c468)
- Respect root in projects - by @sheremet-va in #11521 (26642)
- Resolve mocks in directories with spaces - by @sheremet-va in #11539 (caaef)
- api:
- Publish the api token atomically - by @umairnawaz333 in #11323 (6f990)
- browser:
- Close the mock route interception race - by @cplieger and @sheremet-va in #8339 and #11083 (d6620)
- Allow toHaveTextContent without arguments - by @nomadical in #11425 (8ebcf)
- Apply API options without browser config - by @sheremet-va in #10852 (ad055)
- Preserve undefined command arguments - by @sheremet-va and @AriPerkkio in #11497 (1576d)
- Wait for setup mocks before importing a test file - by @kasperpeulen in #11520 (b61d1)
- Avoid extra scroll outside the iframe - by @sheremet-va in #11523 (662e8)
- Run browser instances as workers - by @sheremet-va in #11525 (bf04b)
- ⚠️ This can degrade performance if you have a custom
maxWorkerssetting. Previously, it was applied incorrectly and could lead to Vitest using too many resources. For example, a lower number would still open too many browsers. Fixing it means Vitest opens less instances by default now.
- ⚠️ This can degrade performance if you have a custom
- Open one cdp session per tester - by @sheremet-va in #11542 (69e63)
- Clean up unmocked and pending mocks - by @sheremet-va in #11537 (5c955)
- coverage:
- V8 browser memory leak between test files - by @AriPerkkio in #11466 (2297d)
allowExternalfails to include uncovered files - by @AriPerkkio in #11513 (4ef00)- Filenames containing brackets incorrectly showing as uncovered - by @AriPerkkio in #11531 (0fa80)
- Istanbul coverage wrong when module transform warmups - by @AriPerkkio in #11529 (9f61d)
- deps:
- Update all non-major dependencies - by @sheremet-va in #11167 (c74e0)
- expect:
- Fix
MapandSetdeep equality in some assertions - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11402 (b4e79) - Check value in chai-style returned - by @sheremet-va in #11500 (1aca0)
- Fix
- mocker:
- Fix native loader mocking edge cases - by @sheremet-va in #11540 (cd423)
- pretty-format:
- reporters:
- Junit to strip ANSI sequences from all XML attributes - by @meganemura and Claude Opus 5.5 in #11407 (e1a73)
- runner:
- Don't cache failed fixture setups - by @hamed-bavar in #11237 and #11238 (4ee66)
- typecheck:
- Use typescript pool in toTestSpecification - by @sheremet-va in #11451 (5f273)
- ui:
- Remove duplicate browser-open call opening two tabs - by @feastyr69 in #11356 and #11358 (d7e13)
- Simplify explorer filtering + fix nested tests when search matches a suite - by @hi-ogawa, Hiroshi Ogawa, Codex and Claude Opus 5.5 in #11262 (a627b)
- Store module graph once per environment - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11421 (af903)
- Mount index.html handler on the ui base path - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11517 (1bc24)
- Center split pane resize handle - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in #11506 (e658b)
- vm:
- Bind
thistomodule.exports- by @sheremet-va in #11504 (b618a)
- Bind
🏎 Performance
- Reuse fsModuleCache when filtering by source - by @sheremet-va in #11428 (7ebd9)
- spy: Reset only mocks that were called or reconfigured - by @johan-gorter and Claude Opus 5.5 in #11197 (28ef9)
View changes on GitHub
Configuration
📅 Schedule: (UTC)
- 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 these updates again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.