@currents/jest
Currents reporter for Jest
Last updated
Currents reporter for Jest
Last updated
Currents reporter for generates test results that for uploading to Currents.
The reporter stores the generated results in a temporary directory. Upload the generated results using a separate package @currents/cmd.
Add the reporter to Jest configuration:
or set the --reporters
option when running the jest
The reporter saves the test results in a temporary folder named .currents-report-[timestamp]-[uuidv4()]
.
Configure the reporter
Run the tests npx jest
Use currents
from @currents/cmdpackage to upload the results
Example:
reportDir
string
Test results directory
CURRENTS_REPORT_DIR
.currents-report-[timestamp]-[uuidv4]
Set DEBUG=currents*
before running jest
to obtain detailed information about the reporter execution process.