Commit f26f0d5
Fix packs_generator_spec tests for verbose mode changes
The verbose flag changes made pack generation output conditional on the
REACT_ON_RAILS_VERBOSE environment variable. Updated the two failing
tests to set this environment variable so they can verify the expected
output is produced when packs are actually generated.
Tests fixed:
- "generate packs if a new component is added"
- "generate packs if an old component is updated"
Both tests now:
1. Set ENV["REACT_ON_RAILS_VERBOSE"] = "true" before generation
2. Run the pack generation
3. Clean up the environment variable
This ensures backward compatibility with existing tests while
supporting the new verbose mode functionality.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 8eb6531 commit f26f0d5
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
416 | 418 | | |
417 | 419 | | |
418 | 420 | | |
| 421 | + | |
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
422 | 425 | | |
423 | 426 | | |
424 | 427 | | |
425 | 428 | | |
| 429 | + | |
| 430 | + | |
426 | 431 | | |
427 | 432 | | |
428 | 433 | | |
| 434 | + | |
429 | 435 | | |
430 | 436 | | |
431 | 437 | | |
| |||
0 commit comments