-
-
Notifications
You must be signed in to change notification settings - Fork 757
test: enable previously filtered test cases and update expected outputs #12396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for rspack canceled.
|
📦 Binary Size-limit
🙈 Size remains the same at 47.71MB |
There was a problem hiding this 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 enables several previously filtered test cases and updates expected outputs to align with improved error message formatting in the rspack build system. The changes focus on test infrastructure improvements and modernization.
- Removed
test.filter.jsfiles that were skipping tests across watchCases, hotCases, configCases, and diagnosticsCases - Updated banner plugin tests to use
globalThisinstead ofglobalfor better cross-environment compatibility - Updated diagnostic test expectations to reflect enhanced error messages with source code context and location information
Reviewed changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tests/rspack-test/watchCases/resolve/in-loader/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/hotCases/plugins/banner/test.filter.js |
Removed test filter to enable the banner plugin test |
tests/rspack-test/hotCases/plugins/banner/rspack.config.js |
Updated banner to use globalThis instead of global |
tests/rspack-test/hotCases/plugins/banner/index.js |
Updated test assertions to use globalThis instead of global |
tests/rspack-test/hotCases/loader-import-module/css/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/hotCases/lazy-compilation/simple/test.filter.js |
Changed from skipping test to expecting specific error message format |
tests/rspack-test/diagnosticsCases/factorize/export_star_error/test.filter.js |
Removed test filter to enable the diagnostic test |
tests/rspack-test/diagnosticsCases/factorize/export_star_error/stats.err |
Updated to reflect new detailed error format with source context |
tests/rspack-test/diagnosticsCases/factorize/export_star_error/rspack.config.js |
Simplified configuration by removing DefinePlugin |
tests/rspack-test/diagnosticsCases/factorize/export_star_error/raw-warning.err |
Added expected raw warning output with location information |
tests/rspack-test/diagnosticsCases/factorize/export_star_error/raw-error.err |
Added expected raw error output (empty array) |
tests/rspack-test/configCases/types/filesystems/test.filter.js |
Removed test filter to enable the filesystems type test |
tests/rspack-test/configCases/target/system-named-assets-path/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/configCases/parsing/require-ignore/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/configCases/module/dependOn-entries/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/configCases/mangle/exports-info-can-mangle/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/configCases/library/module-reexport-external/test.filter.js |
Removed test filter to enable the test |
tests/rspack-test/configCases/errors/generator-generate-error/test.filter.js |
Removed test filter to enable the test |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff AnalysisFound 5 project(s) in monorepo. 📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-1kPath:
📦 Download Diff Report: react-1k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff Generated by Rsdoctor GitHub Action |
CodSpeed Performance ReportMerging #12396 will not alter performanceComparing Summary
|
Summary
This PR enables several test cases that were previously filtered out by removing their
test.filter.jsfiles. Additionally, it updates the expected outputs for some diagnostic tests to match the improved error message formatting.Changes:
test.filter.jsfiles to enable previously skipped testsChecklist