Commit 5081242
test: assert all four Rspack pins in bin/switch-bundler
The bin/switch-bundler version-pin test only spot-checked @rspack/core
and webpack. A drift in @rspack/cli or @rspack/plugin-react-refresh within
the RSPACK_DEPS constant would silently pass the existing assertions.
Add assertions for the remaining two rspack pins so future version
changes to bin/switch-bundler cannot regress without a test failure.
The sibling test "installs rspack dependencies in package.json" already
checks all four rspack packages (for the generated package.json), so this
also brings the switch-bundler test into consistency with the adjacent
pattern.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent acad445 commit 5081242
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
| 672 | + | |
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| |||
0 commit comments