Commit 7be99ea
Fix CI: Add using_swc? stub to JsDependencyManager spec
The JsDependencyManager tests create a mock test class that includes
the module. After adding the using_swc? call to add_js_dependencies,
the test class needs to provide this method (which comes from
GeneratorHelper in actual generator classes).
Changes:
- Add using_swc? method stub to test class (defaults to true)
- Add using_swc setter for test control
- Add test for SWC_DEPENDENCIES constant
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent c9cfc20 commit 7be99ea
File tree
1 file changed
+13
-0
lines changed- react_on_rails/spec/react_on_rails/generators
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
112 | 125 | | |
113 | 126 | | |
114 | 127 | | |
| |||
0 commit comments