
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
jest-junit-reporter
Advanced tools
A JUnit test reporter for Jest.
$ npm i -D jest-junit-reporter
In your package.json
file include a "jest"
config section and specify the "testResultsProcessor"
:
{
"jest": {
"testResultsProcessor": "./node_modules/jest-junit-reporter"
}
}
The reporter will generate a test-results.xml
file in the project root. If you need to specify a different location(e.g., for a CI server) then set the environment variable TEST_REPORT_PATH
to the desired location. If you need to specify a different file name other than test-results.xml
, you can set the environment variable TEST_REPORT_FILENAME
to the desired file name.
FAQs
A JUnit test report formatter for Jest.
The npm package jest-junit-reporter receives a total of 62,784 weekly downloads. As such, jest-junit-reporter popularity was classified as popular.
We found that jest-junit-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.