Commit b729316
Add comprehensive --rsc-pro generator tests for routes, components, and configs
The --rsc-pro test context was missing several important assertions that the
--rsc context had. This adds tests verifying that --rsc-pro mode correctly:
- Creates node-renderer.js for Pro SSR
- Adds RSC bundle watcher to Procfile.dev
- Replaces HelloWorld with HelloServer (controller, routes, components)
- Adds hello_server and rsc_payload routes
- Creates rscWebpackConfig.js
Closes #2793
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 45ac79d commit b729316
1 file changed
Lines changed: 42 additions & 0 deletions
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
1735 | 1777 | | |
1736 | 1778 | | |
1737 | 1779 | | |
| |||
0 commit comments