Commit eed0dfa
Fix dummy app tests: skip version validation in monorepo context
The dummy app integration tests were failing with:
"ERROR ReactOnRails: You have the Pro gem installed but are using the base 'react-on-rails' package"
This occurred because:
1. Tests run with bundle exec from repo root
2. Root Gemfile includes BOTH base and Pro gems (via gemspecs)
3. Dummy app package.json only has base package (intentionally)
4. Version checker correctly detected this mismatch
The dummy app is specifically for testing the BASE gem/package, not Pro.
In a monorepo development/testing context, it's expected that Pro gem
may be available in the parent bundle even when testing the base gem.
Solution: Add REACT_ON_RAILS_SKIP_VALIDATION=true to dummy test tasks,
matching the existing pattern used for example app tests (line 85).
This fix resolves the CI failure in:
https://github.com/shakacode/react_on_rails/actions/runs/19616420258/job/56169682395?pr=2108
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e329076 commit eed0dfa
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | | - | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| 79 | + | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
0 commit comments