Skip to content

seanpoulter/jest-ipc-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-ipc-reporter

This is a custom reporter for Jest that sends the results to another process using IPC. To use this reporter, add it to your Jest configuration and specify an IPC path:

{
    "reporters": [
        ["<rootDir>/dist/ipc-reporter", { "path": "IPC path" } ],
        "default"
    ],
}

Message Format

When the onRunStart, onTestStart, onTestResult, and onRunComplete methods are called, the arguments are sent in a JSON message like:

{
    "type": "methodName",
    "data": {
        "argName": "argValue",
        ...
    }
}

References

About

WIP: Report test results to an IPC path

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published