Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: Ensure InputTime component handles specified date prop correctly
This commit includes two test cases for the InputTime component 1. It verifies that the component correctly triggers the onChange event when a date prop is provided. The test simulates a change in time input and checks if the expected date, based on the provided date prop and new time, is passed to the onChange function. 2. It ensures that the component gracefully handles the scenario when the date prop is missing. The test simulates a change in time input and checks if the expected date, based on the current date and new time, is passed to the onChange function when no date prop is provided. Closes Hacker0x01#4268
- Loading branch information