chore(deps-dev): bump vitest to 4.1.0 and align companion packages#9233
chore(deps-dev): bump vitest to 4.1.0 and align companion packages#9233dependabot[bot] wants to merge 3 commits into
Conversation
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.4 to 4.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
✅ Contributors
✅ Screenshots/Videos
Summary Table
Overall: this PR passes review for title/body compliance. The advised risk level remains Medium, matching the submitter’s selection.Last updated: Tue, 02 Jun 2026 21:06:21 GMT |
|
📊 Coverage check completed. See workflow run for details. |
Dependency Review: vitest 3.2.4 -> 4.1.0Verdict: Needs companion package updates + test fixes This is a major version bump with breaking changes. The PR only updates Issues found:
vitest 4.x breaking changes to be aware of:
Fix needed: Bump |
- Update @vitest/coverage-istanbul and @vitest/ui to ^4.1.0 in root and a2a-core
- Update @vitest/coverage-v8 to ^4.1.0 in iframe-app
- Add virtual-store-dir-max-length=80 to .npmrc for Windows path length compatibility
- Fix coverage include patterns from src/**/* to src/**/*.{ts,tsx,js,jsx} to avoid
instrumenting non-code files (graphify .md files) in vitest 4.x
- Fix constructor mock patterns: use function() syntax instead of arrow functions
for class/constructor mocks (vitest 4.x breaking change)
- Increase test timeout for locale loading test (vitest 4.x API change)
- Use vitest 4.x test options API: { timeout } as second arg instead of third arg
- Update snapshots for designer-ui
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@copilot resolve the merge conflicts in this pull request |
Done in |
Commit Type
Risk Level
What & Why
Upgrades
vitestfrom3.2.4to4.1.0and aligns companion packages (@vitest/coverage-istanbul,@vitest/ui) to compatible 4.x versions to avoid mixed-version runtime issues.Includes follow-up compatibility fixes from review feedback (snapshot updates and chat test stability) and resolves merge conflicts by merging
maininto this branch with lockfile reconciliation.Impact of Change
mainconflict-resolution merge.Test Plan
@microsoft/designer-ui(addActionCard.spec.tsx) and@microsoft/logic-apps-chat(test:lib), plus lockfile integrity check withpnpm install --frozen-lockfileContributors
Screenshots/Videos
N/A