Jest
A guide for generating Trunk-compatible test reports for Jest tests
Checklist
Generating Reports
npm install --save-dev jest-junit{
"reporters": [
[
"jest-junit",
{
"outputDirectory": "./",
"outputName": "junit.xml",
"addFileAttribute": "true",
"reportTestSuiteErrors": "true"
}
]
]
}Report File Path
Disable Retries
Try It Locally
The Validate Command
Test Upload


Next Steps
Last updated













