DEV Community

Discussion on: Using Mochawesome Reporter with Cypress

Collapse
 
imtiazhossain profile image
Imtiaz Hossain

Hi,

I'm getting this error when trying to generate reports. Any help appreciated. Thank you.

mochawesome-merge cypress/reports/mocha/*.json > cypress/reports/mochareports/report.json

ERROR: Failed to merge reports

Error: Directory C:\repo\mochawesome-report does not exist
at fse.readdir.catch (C:\repos\drug-data-pipeline-testing\node_modules\mochawesome-merge\lib\index.js:33:11)