Write tests for the convertTimeStamp helper function to ensure its correctness and reliability.
Expected Behavior
After writing tests for the convertTimeStamp function, we expect to have a suite of tests that validate its behaviour under various scenarios, including different timestamps and edge cases. These tests should cover both the date and time formatting aspects of the function.
Current Behavior
Currently, the convertTimeStamp function lacks test coverage, leaving its behaviour unverified. This could potentially lead to unexpected issues or regressions if changes are made to the function in the future.
Screenshots
Reproducibility
[ ] This issue is reproducible
[ ] This issue is not reproducible
Steps to Reproduce
Severity/Priority
[ ] Critical
[ ] High
[ ] Medium
[ ] Low
Additional Information
Checklist
[ ] I have read and followed the project's code of conduct.
[ ] I have searched for similar issues before creating this one.
[ ] I have provided all the necessary information to understand and reproduce the issue.
[ ] I am willing to contribute to the resolution of this issue.
Issue Description
Write tests for the
convertTimeStamp
helper function to ensure its correctness and reliability.Expected Behavior
After writing tests for the
convertTimeStamp function
, we expect to have a suite of tests that validate its behaviour under various scenarios, including different timestamps and edge cases. These tests should cover both the date and time formatting aspects of the function.Current Behavior
Currently, the
convertTimeStamp
function lacks test coverage, leaving its behaviour unverified. This could potentially lead to unexpected issues or regressions if changes are made to the function in the future.Screenshots
Reproducibility
Steps to Reproduce
Severity/Priority
Additional Information
Checklist