Skip to content

chore(deps): bump vitest to v4 and fix tests#1564

Open
jescalada wants to merge 8 commits into
mainfrom
vitest-4-bump-and-test-fixes
Open

chore(deps): bump vitest to v4 and fix tests#1564
jescalada wants to merge 8 commits into
mainfrom
vitest-4-bump-and-test-fixes

Conversation

@jescalada

@jescalada jescalada commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Description

Bumps Vitest to v4 and fixes resulting failing tests from syntax changes.

Despite adding the uiPort mocks to fix some EADDRINUSE errors when running tests in parallel, I decided to keep the sequential tests (by disabling the fileParallelism option, formerly poolOptions.forks.singleFork).

This is because a few tests still fail when running npm run test-shuffle, and the MongoDB integration tests also fail on the CI when enabling parallelism. I made an issue to track this so we can benefit from parallel test execution speedup: #1565

Checklist

General

Tests

  • Tests have been added/updated for new functionality
  • Unit tests pass (npm test)
  • Linting and formatting pass (npm run lint and npm run format:check)
  • Type checks pass (npm run check-types)

@netlify

netlify Bot commented Jun 6, 2026

Copy link
Copy Markdown

Deploy Preview for endearing-brigadeiros-63f9d0 ready!

Name Link
🔨 Latest commit 96cbd3e
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/6a35292dc8b6d20007bc28fe
😎 Deploy Preview https://deploy-preview-1564.git-proxy.preview.finos.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ✅ 0 package(s) with unknown licenses.
  • ⚠️ 1 packages with OpenSSF Scorecard issues.

View full job summary

@codecov

codecov Bot commented Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.06%. Comparing base (6e65716) to head (96cbd3e).
⚠️ Report is 202 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1564      +/-   ##
==========================================
- Coverage   90.68%   89.06%   -1.62%     
==========================================
  Files          69       65       -4     
  Lines        5741     3467    -2274     
  Branches      989      565     -424     
==========================================
- Hits         5206     3088    -2118     
+ Misses        517      234     -283     
- Partials       18      145     +127     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jescalada jescalada marked this pull request as ready for review June 6, 2026 07:48
@jescalada jescalada requested a review from a team as a code owner June 6, 2026 07:48
@jescalada

Copy link
Copy Markdown
Contributor Author

The dependency review is complaining on npm/yauzl v3 which apparently does have an MIT license: https://www.npmjs.com/package/yauzl

This is a known issue with Dependency Review not falling back to the GH license fetch API when the dependency graph API doesn't fetch as intended: actions/dependency-review-action#704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant