adamgruber / mochawesome

A Gorgeous HTML/CSS Reporter for Mocha.js
https://gitter.im/mochawesome/general
MIT License
1.06k stars 160 forks source link

The report file name isn't saved. mochawesome.html overrides #364

Closed Jeancr123 closed 2 years ago

Jeancr123 commented 2 years ago

I'm having issues setting the custom file name for the report. Using:

mocha test.js --reporter mochawesome --timeout 0 --reporter-options reportFileName="KitValidityCheck",autoOpen=true,timestamp=true,reportTitle="KitValidityCheck",reportPageTitle="KitValidityCheck"

but the output is still moachawesome.html and mochawesome.json

image

When I check the json configurations of the file, I see:

image

The rest of the options, like the reportTitle and reportPageTitle work just fine. Is there a reason the reportFilename flag isn't working?

Jeancr123 commented 2 years ago

User error...