Roshan3580 commented on PR #5594:
URL: https://github.com/apache/texera/pull/5594#issuecomment-4673475008

   Purpose of the PR
   
   Closes #5465
   
   This PR adds frontend unit tests for ConflictingFileModalContentComponent to 
improve test coverage and verify correct handling of injected modal data.
   
   Summary of Changes
   Added conflicting-file-modal-content.component.spec.ts
   Added a test to verify the component is created successfully
   Added a test to verify the component correctly exposes the injected 
NZ_MODAL_DATA payload
   Design Proposal
   
   N/A — this PR only adds unit tests for existing functionality and does not 
introduce any behavioral changes.
   
   Technical Design Diagram/Description
   
   The tests validate that the component initializes correctly and that the 
modal data provided through Angular dependency injection is exposed as expected 
by the component.
   
   GIFs/Screenshots
   
   N/A — test-only change.
   
   Testing
   
   Executed locally:
   
   yarn test --include='**/conflicting-file-modal-content.component.spec.ts'
   yarn lint
   
   Both commands completed successfully.


-- 
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]

Reply via email to