Ghost/ghost/email-service
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
..
lib Added E2E tests for batch sending (#15910) 2022-12-01 13:43:49 +01:00
test Added mailgun provider for sending emails (#15896) 2022-11-30 16:21:58 +05:30
.eslintrc.js
index.js Added mailgun provider for sending emails (#15896) 2022-11-30 16:21:58 +05:30
package.json
README.md

Email Service

Manages how posts are sent via email

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests