Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Task 2 - validate Additional hours - TO-DO

In the file packages/restaurant/src/rbi-restaurant/operating-hours.ts, we need to change the isRestaurantOpen, getNextEarliestOpen and getHoursOfOperationForDay functions, because this function to validate is restaurants is open and day work, but just validate the hours work normal, but now we need to validate the additional hours work too.

Add unit test for this new scenarios too.

Task 3 - return nextOpenDate in findEligible function

...