Files
cal.diy/apps/web/test
a4f8571f59 fix: update transaction timeout for large managed event-types (#25944)
* fix: update transaction timeout for large managed event-types

* test: add findMany mock for batch update optimization in handleChildrenEventTypes tests

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

* fix: reduce batch size to 50 and use skipDuplicates for workflow linkage

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

* test: add comprehensive tests for batch execution and retry behavior

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

* fix: use logger instead of console.log and fix type error

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

* test: update test file to mock logger instead of console.log

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

* fix: type issues

* fixup! fix: type issues

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
2026-01-19 20:37:21 +04:00
..
2026-01-02 12:47:00 +00: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