@tryghost/email-mock-receiver
v2.3.7
Published
Downloads
51,679
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
pnpm 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
pnpm installto install top-level dependencies.
Test
pnpm lintruns oxlintpnpm testruns lint and tests
