test(rstest): migrate externals-loading config cases#2513
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (43)
💤 Files with no reviewable changes (10)
📝 WalkthroughWalkthroughThis PR migrates the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 327b2216b7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| '@rspack/test-tools': | ||
| specifier: catalog:rspack | ||
| version: 1.5.6(@rspack/core@1.7.9(@swc/helpers@0.5.21)) | ||
| specifier: 1.7.9 | ||
| version: 1.7.9(patch_hash=a5d7fbe6cc7dd67734d2c853f52ed8099fdbaee9a311dd64b49a10acdfa929e2)(@rspack/core@1.7.9(@swc/helpers@0.5.21)) |
There was a problem hiding this comment.
Add missing lockfile snapshot for @rspack/test-tools 1.7.9
Update the lockfile so this importer entry points to a snapshot that actually exists. The importer now references @rspack/test-tools as 1.7.9(patch_hash=...), but pnpm-lock.yaml only contains snapshot entries for @rspack/test-tools@1.5.6(...) and no matching 1.7.9(...) snapshot, which makes the lockfile internally inconsistent and can break pnpm install --frozen-lockfile in CI.
Useful? React with 👍 / 👎.
Summary
externals-loading-webpack-pluginfrom the legacy@lynx-js/test-toolscase entry to@rspack/test-toolstest/configCases/**and replace legacybundlePathconfigs with per-casefindBundle()andbeforeExecute()hooks@rspack/test-tools@1.7.9runner and align root ESLint ignores with migratedconfigCases/**fixturesTest Plan
pnpm --filter @lynx-js/externals-loading-webpack-plugin testSummary by CodeRabbit
Release Notes
Refactor
@lynx-js/test-toolsto@rspack/test-tools, restructuring test configuration and organization to align with updated testing framework standards.Chores