Skip to content

Jest test results processor for sending a report on e-mail

License

Notifications You must be signed in to change notification settings

tglink/jest-email-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-email-reporter

See jest test errors on e-mail

Install

npm install --save-dev jest-email-reporter
# or
yarn add -D jest-email-reporter

Usage

You must configure the jest config. Do not forget from and to e-mail addresses.

module.exports = {
    ...
    reporters: [
        "default",
        ["jest-email-reporter", {
            from: 'from@example.com',
            to: 'to@example.com',
            subject: 'Optional subject', // optional
            reportIfSuccess: true, // optional, default is false; it send e-mail message if tests were successful
        }]
    ],
    ...
}

Result

Result image

About

Jest test results processor for sending a report on e-mail

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published