Skip to content

test: refresh snapshots + make resilient to vite 8 changes - #857

Merged
danielroe merged 2 commits into
mainfrom
test/snapshots
Jul 18, 2026
Merged

danielroe merged 2 commits into
mainfrom
test/snapshots

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

spotted in an ecosystem-ci run, this makes font snapshots less fragile, in particular with the upcoming v4.5 (which includes vite 8)

@socket-security

socket-security Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedvue-router@​5.2.0911009790100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/fonts@857

commit: 33b5ae6

@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 662588b4-ef82-4045-ba8f-9969d091fbec

📥 Commits

Reviewing files that changed from the base of the PR and between deb0049 and 33b5ae6.

📒 Files selected for processing (1)
  • test/base-url.test.ts

📝 Walkthrough

Walkthrough

extractFontFaces now applies canonical normalization to matched @font-face rules, including descriptor ordering, quoting, percentage precision, family escaping, and Unicode-range formatting. Its font-family matching is stricter. Inline snapshots across font providers, fallbacks, CSS-variable behavior, SCSS, Tailwind, and UnoCSS are updated to match the normalized output. Adobe fetch mocking is initialized for base-URL tests.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: snapshot refreshes and Vite 8 resilience.
Description check ✅ Passed The description is directly related to the snapshot updates and test resilience changes in the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/snapshots

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Deploying fonts with  Cloudflare Pages  Cloudflare Pages

Latest commit: 33b5ae6
Status: ✅  Deploy successful!
Preview URL: https://43fef26c.fonts-dsw.pages.dev
Branch Preview URL: https://test-snapshots.fonts-dsw.pages.dev

View logs

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.01%. Comparing base (7dd7a38) to head (33b5ae6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #857   +/-   ##
=======================================
  Coverage   68.01%   68.01%           
=======================================
  Files           9        9           
  Lines         297      297           
  Branches       67       67           
=======================================
  Hits          202      202           
  Misses         78       78           
  Partials       17       17           

☔ 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.

@danielroe
danielroe merged commit 4a511c8 into main Jul 18, 2026
13 checks passed
@danielroe
danielroe deleted the test/snapshots branch July 18, 2026 09:01
@github-actions github-actions Bot mentioned this pull request Jul 18, 2026
This was referenced Aug 21, 2026
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.

2 participants