Skip to content

test(ut): update snapshots#6870

Merged
chenjiahan merged 1 commit intomainfrom
test_snapshots_1231
Dec 31, 2025
Merged

test(ut): update snapshots#6870
chenjiahan merged 1 commit intomainfrom
test_snapshots_1231

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Updates several test snapshots to adjust how the collectTypeScriptInfo option is represented in the configuration

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings December 31, 2025 08:22
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 31, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit c7a89fc
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6954dd382234040008ac6ce4
😎 Deploy Preview https://deploy-preview-6870--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 65 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

@chenjiahan chenjiahan merged commit 62fe741 into main Dec 31, 2025
13 checks passed
@chenjiahan chenjiahan deleted the test_snapshots_1231 branch December 31, 2025 08:30
@chenjiahan chenjiahan mentioned this pull request Dec 31, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates test snapshots across multiple packages to reflect a change in how the collectTypeScriptInfo configuration option is serialized in the SWC loader options. The configuration block is repositioned to appear before the env configuration instead of after the jsc configuration block.

  • Repositions collectTypeScriptInfo configuration in SWC loader snapshots
  • No changes to actual configuration values, only their order in the serialized output
  • Updates affect multiple plugin packages (svgr, svelte, react, babel) and core tests

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/plugin-svgr/tests/__snapshots__/index.test.ts.snap Updates 12 snapshot entries to reposition collectTypeScriptInfo before env config
packages/plugin-svelte/tests/__snapshots__/index.test.ts.snap Updates 9 snapshot entries to reposition collectTypeScriptInfo before env config
packages/plugin-react/tests/__snapshots__/index.test.ts.snap Updates 2 snapshot entries to reposition collectTypeScriptInfo before env config
packages/plugin-babel/tests/__snapshots__/index.test.ts.snap Updates 5 snapshot entries to reposition collectTypeScriptInfo before env config
packages/core/tests/__snapshots__/swc.test.ts.snap Updates 24 snapshot entries to reposition collectTypeScriptInfo before env config
packages/core/tests/__snapshots__/environments.test.ts.snap Updates 4 snapshot entries to reposition collectTypeScriptInfo before env config
packages/core/tests/__snapshots__/default.test.ts.snap Updates 6 snapshot entries to reposition collectTypeScriptInfo before env config
packages/core/tests/__snapshots__/builder.test.ts.snap Updates 2 snapshot entries to reposition collectTypeScriptInfo before env config

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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