cal.pub0.org/apps/web/test/lib
Syed Ali Shahbaz 788e2acaff
Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals (#2079)
* modified buffer checks

* added custom interval consideration in getSlots fn

* further getslot call fixes

* added check for end of day availability slots

* removed debug remnants

* moved slot filtering into a function

* improved readability of code

* improved readability

* extracted getFilteredTimes outside useSlot

* added a buffer test

* added another buffer test

* edge case fix for eod availability and test fix

* removed unnecessary comments

* verbose comment

* fixed eod logic and updated expected test value

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-12 06:52:27 +00:00
..
getAvailabilityFromSchedule.test.ts Test/get availability from schedule unit test (#1951) 2022-02-23 16:16:04 +00:00
getWorkingHours.test.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
parseZone.test.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
slots.test.ts Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals (#2079) 2022-03-12 06:52:27 +00:00
team-event-types.test.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00