Skip to content

test: update Vitest to v4#1266

Merged
codykaup merged 1 commit intomainfrom
ari/test-update-vitest
Apr 3, 2026
Merged

test: update Vitest to v4#1266
codykaup merged 1 commit intomainfrom
ari/test-update-vitest

Conversation

@AriPerkkio
Copy link
Copy Markdown
Member

@AriPerkkio AriPerkkio commented Apr 2, 2026

Started to look around test cases for #1252 and noticed this project is using Vitest v2 (which has known RCE CVE too).

This PR updates Vitest to v4 with minimal changes.

📦 Published PR as canary version: 16.0.1--canary.1266.23908020671.0

✨ Test out this PR locally via:

npm install chromatic@16.0.1--canary.1266.23908020671.0
# or 
yarn add chromatic@16.0.1--canary.1266.23908020671.0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

📦 Package Size: 5732 KB
✅ Compared to main: 0 KB c175ff8 (5732 KB)

@AriPerkkio AriPerkkio force-pushed the ari/test-update-vitest branch from 0cdc2a6 to 85535cb Compare April 2, 2026 11:32
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.38%. Comparing base (c175ff8) to head (f452d9b).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1266      +/-   ##
==========================================
+ Coverage   72.22%   77.38%   +5.16%     
==========================================
  Files         208      187      -21     
  Lines        7918     3591    -4327     
  Branches     1435     1086     -349     
==========================================
- Hits         5719     2779    -2940     
+ Misses       2177      697    -1480     
- Partials       22      115      +93     

☔ View full report in Codecov by Sentry.
📢 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.

@AriPerkkio AriPerkkio force-pushed the ari/test-update-vitest branch from 85535cb to f1131ed Compare April 2, 2026 11:52
@AriPerkkio AriPerkkio marked this pull request as ready for review April 2, 2026 12:05
@AriPerkkio AriPerkkio requested review from codykaup and jmhobbs April 2, 2026 12:07
@AriPerkkio AriPerkkio force-pushed the ari/test-update-vitest branch from f1131ed to f452d9b Compare April 2, 2026 12:25
Copy link
Copy Markdown
Contributor

@codykaup codykaup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple questions for you but it looks good! Thanks for doing this!

@codykaup codykaup added patch Auto: Increment the patch version when merged skip-release Auto: Preserve the current version when merged labels Apr 2, 2026
Copy link
Copy Markdown
Contributor

@codykaup codykaup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codykaup codykaup added this pull request to the merge queue Apr 3, 2026
Merged via the queue into main with commit ad246ff Apr 3, 2026
23 of 25 checks passed
@codykaup codykaup deleted the ari/test-update-vitest branch April 3, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Auto: Increment the patch version when merged skip-release Auto: Preserve the current version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants