test(frontend): add ConflictingFileModalContentComponent unit tests#5594
test(frontend): add ConflictingFileModalContentComponent unit tests#5594Roshan3580 wants to merge 1 commit into
Conversation
|
👋 Thanks for your first contribution to Texera, @Roshan3580! You can drive common housekeeping tasks just by leaving a comment. Type the command on its own line. On issues
To find unclaimed work, search Linking sub-issues
You can write references as On pull requests (author only)
You can mention teams as
For the full contribution flow, see CONTRIBUTING.md. |
|
@Roshan3580 please use our PR template. Please feel free to reopen once it is ready. Thanks! |
Purpose of the PR
Closes #5467
This PR adds frontend unit tests for RegistrationRequestModalComponent.
Summary of Changes
Added registration-request-modal.component.spec.ts
Added a test to verify the component is created successfully
Added a test to verify modal data correctly seeds name and email
Added a test to verify null modal data falls back to empty strings
Added a test to verify getValues() trims whitespace from affiliation and reason
Design Proposal
N/A — this PR only adds unit tests for existing frontend behavior.
Technical Design Diagram/Description
N/A — no production logic or UI behavior was changed.
GIFs/Screenshots
N/A — test-only change.
Testing
Executed locally:
yarn test --include='**/registration-request-modal.component.spec.ts'
yarn lint
Both completed successfully.