The xunit reporter works well for creating test reports.
Command line:
mocha -R xunit | grep "<" > reports/mocha.xml
With Jenkins, just “post a JUnit test report”, it should work.
But I still find a solution to publish a coverage report.
source share