Commit 58d73f2
Step 5: Move Pro Tests to Pro Package
✅ Checkpoint 5.1: Identify pro-related tests
- Identified 4 test files that test pro-only functionality
- All tests importing from pro/ directories
✅ Checkpoint 5.2: Move pro tests
- Moved using git mv to preserve history:
- streamServerRenderedReactComponent.test.jsx (streaming is pro-only)
- registerServerComponent.client.test.jsx (RSC is pro-only)
- injectRSCPayload.test.ts (RSC payload injection is pro-only)
- SuspenseHydration.test.tsx (RSC hydration behavior is pro-only)
✅ Checkpoint 5.3: Update remaining core tests
- Updated serverRenderReactComponent.test.ts to use core ComponentRegistry
- Core ComponentRegistry and StoreRegistry tests already properly test core functionality
- Tests for pro method stubs already exist (throw errors directing to upgrade)
Pro tests now live in packages/react-on-rails-pro/tests/ with full git
history preserved. Core tests only test core functionality.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 80a1220 commit 58d73f2
File tree
6 files changed
+10
-9
lines changed- docs
- packages
- react-on-rails-pro/tests
- react-on-rails/tests
6 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments