jest-email-reporter

1.0.4 • Public • Published

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.

{
    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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jest-email-reporter

    Weekly Downloads

    846

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    57.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • hawkeyepierce89