EmilySun621 opened a new pull request, #5583: URL: https://github.com/apache/texera/pull/5583
Covers constructor hydration from NZ_MODAL_DATA (name/email, missing-field fallback), getValues() trimming and null/undefined coercion, and the modalTitle TemplateRef capture. ### What changes were proposed in this PR? Adds a behavior-focused unit test spec for `RegistrationRequestModalComponent`. Tests cover: - Constructor hydration from `NZ_MODAL_DATA` (name, email, missing-field fallback) - `getValues()` trimming and null/undefined coercion - `modalTitle` TemplateRef capture ### Any related issues, documentation, discussions? Related to #5167 ### How was this PR tested? Spec verified with `npx ng test --watch=false --include='**/registration-request-modal.component.spec.ts'`. 7 tests passing. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus4.7 1M context) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
