Files
cal.diy/apps/web/test
11bddbb71d feat: add setting to allow booking through a reschedule link (#21652)
* feat: add setting to disable rescheduling cancelled bookings

Co-Authored-By: [email protected] <[email protected]>

* fix: resolve type errors for disableReschedulingCancelledBookings field

Co-Authored-By: [email protected] <[email protected]>

* fix: update test expectations and builder to include disableReschedulingCancelledBookings field

Co-Authored-By: [email protected] <[email protected]>

* fix: add disableReschedulingCancelledBookings field to managed event types

Co-Authored-By: [email protected] <[email protected]>

* fix: remove duplicate disableReschedulingCancelledBookings property in test

Co-Authored-By: [email protected] <[email protected]>

* fix: change default value to true for disableReschedulingCancelledBookings

Co-Authored-By: [email protected] <[email protected]>

* fix: update managed event types to use true as default for disableReschedulingCancelledBookings

Co-Authored-By: [email protected] <[email protected]>

* test: add comprehensive tests for disableReschedulingCancelledBookings feature

Co-Authored-By: [email protected] <[email protected]>

* update and remove unnecesarry test

* update e2e test

* Update reschedule.e2e.ts

* update

* fix

* Reverse the meaning of column

* Simpify logic of rescheduling redirects

* fix test

* revert

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Anik Dhabal Babu <[email protected]>
Co-authored-by: unknown <[email protected]>
Co-authored-by: Hariom Balhara <[email protected]>
2025-06-07 22:30:54 +02:00
..
2022-07-22 18:39:50 -06:00

Unit and Integration Tests

Make sure you have copied .env.test.example to .env.test

You can run all jest tests as

yarn test

You can run tests matching specific description by following command yarn test -t getSchedule

Tip: Use --watchAll flag to run tests on every change