Ghost/ghost/email-service/test
Simon Backx 0107d2bb77 Fixed subscription status not showing correctly in emails
refs https://github.com/TryGhost/Team/issues/2674

- The segment detection doesn't work outside the main post content. So the data-gh-segment attribute didn't work. It is now replaced with just a simple email replacement that is empty for a free member.
- Fixed that a trialing member was shown as 'paid'. This is now replaced with 'trialing'.

This commit also includes E2E tests for a couple of member statusses.
2023-03-24 08:55:36 +01:00
..
utils Added subscription status text in newsletters (#16442) 2023-03-22 11:52:41 +01:00
.eslintrc.js Added email service package (#15849) 2022-11-21 10:29:53 +01:00
batch-sending-service.test.js Added subscription status text in newsletters (#16442) 2023-03-22 11:52:41 +01:00
email-controller.test.js 🎨 Add ability to send test email with chosen newsletter (#15783) 2023-01-09 17:48:30 +04:00
email-event-processor.test.js Moved email event fetching to main thread (#16231) 2023-02-09 09:36:39 +01:00
email-event-storage.test.js 🐛 Fixed storing email failures with an empty message (#16260) 2023-02-13 15:25:36 +01:00
email-renderer.test.js Fixed subscription status not showing correctly in emails 2023-03-24 08:55:36 +01:00
email-segmenter.test.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30
email-service.test.js Added subscription status text in newsletters (#16442) 2023-03-22 11:52:41 +01:00
mailgun-email-provider.test.js Restricted email-service package to 100% test coverage 2023-01-11 13:54:26 +01:00
sending-service.test.js 🐛 Fixed email replacements without fallback 2023-02-13 15:58:40 +01:00