Problem
I use the following command to generate xml file:
mocha-parallel-tests src/**/*.spec.js --reporter mocha-jenkins-reporter --reporter-option junit_report_path=report.xml
But the report file has misformatted classname (note the leading space character):
<testcase
classname=" /nc/v1/routing/routeDiffusion"
name="test route diffusion server basic" time="0.119">
</testcase>
If I use 'mocha' instead, there is no such problem