* fix: update transaction timeout for large managed event-types * test: add findMany mock for batch update optimization in handleChildrenEventTypes tests Co-Authored-By: morgan@cal.com <morgan@cal.com> * fix: reduce batch size to 50 and use skipDuplicates for workflow linkage Co-Authored-By: morgan@cal.com <morgan@cal.com> * test: add comprehensive tests for batch execution and retry behavior Co-Authored-By: keith@cal.com <keithwillcode@gmail.com> * fix: use logger instead of console.log and fix type error Co-Authored-By: morgan@cal.com <morgan@cal.com> * test: update test file to mock logger instead of console.log Co-Authored-By: morgan@cal.com <morgan@cal.com> * fix: type issues * fixup! fix: type issues --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: keith@cal.com <keithwillcode@gmail.com>
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