Skip to content

test(diagnostic): add test case for type warnings in console#6676

Merged
chenjiahan merged 1 commit intomainfrom
warning_e2e_1201
Dec 1, 2025
Merged

test(diagnostic): add test case for type warnings in console#6676
chenjiahan merged 1 commit intomainfrom
warning_e2e_1201

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Add test case to verify TypeScript type warnings are printed in browser console.
  • Update @rsbuild/plugin-type-check to v1.3.2

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings December 1, 2025 07:19
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 1, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit cb5e075
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/692d418f6368780008165488
😎 Deploy Preview https://deploy-preview-6676--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: 69 (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.

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 adds a test case to verify that TypeScript type warnings are printed in the browser console and updates the @rsbuild/plugin-type-check plugin to version 1.3.2.

  • Adds new test case in e2e/cases/diagnostic/type-warnings to verify async build warnings appear in browser console
  • Adds comprehensive test case in e2e/cases/overlay/type-errors to verify type error display in overlay
  • Updates @rsbuild/plugin-type-check from v1.3.1 to v1.3.2 (which includes dependency ts-checker-rspack-plugin upgrade from v1.2.0 to v1.2.1)

Reviewed changes

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

Show a summary per file
File Description
pnpm-lock.yaml Updates @rsbuild/plugin-type-check to v1.3.2 and its dependency ts-checker-rspack-plugin to v1.2.1
e2e/package.json Updates @rsbuild/plugin-type-check dependency specification to ^1.3.2
e2e/cases/diagnostic/type-warnings/* New test case that verifies TypeScript warnings (TS2322) appear in browser console
e2e/cases/overlay/type-errors/* New test case that verifies type errors display correctly in the error overlay UI
e2e/cases/overlay/disabled/* New test case that verifies error overlay can be disabled via configuration
e2e/cases/overlay/basic/* New test case that verifies basic error overlay functionality
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@chenjiahan chenjiahan merged commit 5d42a9a into main Dec 1, 2025
18 checks passed
@chenjiahan chenjiahan deleted the warning_e2e_1201 branch December 1, 2025 07:32
@chenjiahan chenjiahan mentioned this pull request Dec 2, 2025
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