build(platform-web): align @vitest/browser with vitest v4.1.10#179
Merged
Conversation
Catalog vitest was bumped to 4.1.10 while `@vitest/browser` and `@vitest/browser-playwright` stayed on 4.1.7. Vitest does not support running mixed versions: browser tests fail to connect to the browser session, breaking the unit job on CI.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #179 +/- ##
==========================================
+ Coverage 83.86% 83.88% +0.02%
==========================================
Files 138 138
Lines 2969 2973 +4
Branches 560 559 -1
==========================================
+ Hits 2490 2494 +4
Misses 340 340
Partials 139 139 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bump
@vitest/browserand@vitest/browser-playwrightinplatform-webfrom^4.1.7to^4.1.10and re-resolve the lockfile.Why
The unit job fails consistently on
main(and on every PR) since 819b1e8 bumped the catalogvitestto^4.1.10: pnpm kept the existing@vitest/browser@4.1.7resolution (it still satisfies^4.1.7), and vitest does not support running mixed versions — browser tests die withFailed to connect to the browser session [chromium] within the timeout.Verified locally:
platform-webbrowser tests pass (11 files, 57 tests), the mixed-versions warning is gone, and the lockfile deduplicates all@vitest/*entries onto 4.1.10.🤖 Generated with Claude Code