Closed dhwang154 closed 6 months ago
Missing input regex for day and times
added regex for days and time (AM, PM) in form and test.
Message is confusing, should be different when the input is wrong, rather than just say that input is required
added new error message for both day, and start time and end time when the input is invalid.
LGTM
I added the DriverAvailabilityForm.js, DriverAvailabilityForm.test.js, and storybook entries. Below includes screenshots of the tests.
Storybook:
npm test:
npm run coverage:
npx stryker run -m src/main/components/DriverAvailability/DriverAvailabilityForm.test.js:
This closes #16.