-
-
Notifications
You must be signed in to change notification settings - Fork 746
test: run webpack hot cases with test tools #11826
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.
|
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 migrates webpack hot module replacement (HMR) test cases to rspack by running webpack hot cases with rspack test tools. This is part of the broader effort to migrate webpack test cases to rspack for better compatibility testing.
Key changes include:
- Removal of all webpack hot case test files from the webpack-test directory
- Addition of rspack-specific hot case test files and snapshots
- Updates to test configuration files to use rspack test tools and fake document types
Reviewed Changes
Copilot reviewed 136 out of 445 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/webpack-test/hotCases/* | Removed all webpack hot case test files as they are being migrated |
| tests/rspack-test/hotCases//snapshots/web/.snap.txt | Added rspack test snapshots for hot case scenarios |
| tests/rspack-test/hotCases/*/test.config.js | Added/updated test configuration files for rspack compatibility |
| tests/rspack-test/hotCases/*/index.js | Updated test files to work with rspack test infrastructure |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
📦 Binary Size-limit
❌ Size increased by 128bytes from 47.89MB to 47.89MB (⬆️0.00%) |
CodSpeed Performance ReportMerging #11826 will not alter performanceComparing Summary
|
Summary
Run webpack watch cases with rspack test tools. This is part of migrating webpack test cases to rspack
Related links
Checklist