@tryghost/email-mock-receiver
v2.0.3
Published
Mocks email sending method and manages snapshots for outgoing email information such as to addresses, html content of emails, etc.
Downloads
29,087
Maintainers
Keywords
Readme
Email Mock Receiver
Mocks email sending method and manages snapshots for outgoing email information such as to addresses, html content of emails, etc.
Install
npm install @tryghost/email-mock-receiver --save
or
yarn add @tryghost/email-mock-receiver
Purpose
Test helper that captures outbound email payloads for assertions in automated tests.
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clonethis repo &cdinto it as usual- Run
yarnto install top-level dependencies.
Test
yarn lintrun just eslintyarn testrun lint and tests
