You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug at resolving react-server-client-manifest.json file (#1818)
* Enhance server bundle handling by adding support for react_server_client_manifest_file in server_bundle? method and refactoring react_server_manifest_path assignment to use bundle_js_file_path. This improves configuration flexibility and maintains consistency in bundle management.
* Fix failing tests after react_server_client_manifest_file changes
- Add react_server_client_manifest_file parameter to mock_bundle_configs helper
- Update react_server_client_manifest_file_path tests to mock bundle_js_file_path instead of public_bundles_full_path
- Ensure trailing newline in spec file
These changes fix the CI failures introduced by using bundle_js_file_path for manifest resolution.
Co-authored-by: Abanoub Ghadban <[email protected]>
* Revert "Fix failing tests after react_server_client_manifest_file changes"
This reverts commit 81c385f.
* Enhance tests for react_server_client_manifest_file_path
- Added support for react_server_client_manifest_file in tests.
- Updated test cases to mock bundle_js_file_path instead of public_bundles_full_path.
- Improved caching behavior tests for development and non-development environments.
- Ensured proper error handling when manifest file name is nil.
These changes improve test coverage and reliability for the react_server_client_manifest_file_path method.
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Abanoub Ghadban <[email protected]>
0 commit comments