* 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]>
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