Ghost/ghost/job-manager/test
Simon Backx 4c166e11df
Added E2E tests for batch sending (#15910)
refs https://github.com/TryGhost/Team/issues/2339

- Includes a new pattern in the job manager that allows us to properly
await jobs.
- Added new convenience mocking methods to stub settings
- Tests the main flows for bulk sending:
    - Sending in multiple batches
    - Sending to multiple segments
    - Handling a failed batch and retrying that batch
- Fixes bug in batch generation (ordering not working)

In a different PR I'll add more detailed tests.
2022-12-01 13:43:49 +01:00
..
examples Improved documentation and job examples 2021-01-07 15:17:38 +13:00
jobs Removed bthreads dependency in favor of native worker_threads 2022-08-09 09:04:59 +02:00
utils Added new job manager package 2020-08-11 21:17:52 +01:00
.eslintrc.js Added new job manager package 2020-08-11 21:17:52 +01:00
is-cron-expression.test.js Fixed tests for cron expression validation 2020-11-24 16:44:54 +13:00
job-manager.test.js Added E2E tests for batch sending (#15910) 2022-12-01 13:43:49 +01:00