Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern cypress/reports/*.json matched no report files shown while attempting to merge reports #99

Open
yashaswini opened this issue Jul 24, 2023 · 1 comment

Comments

@yashaswini
Copy link

Here's my config

"mochawesome": "^7.1.3"
"mochawesome-merge": "^4.3.0"
"mochawesome-report-generator": "^6.2.0"

cypress.config.ts has:
"reporterOptions": {
"reporterEnabled": "mochawesome",
"files": ["./mochawesome-report/*.json"],
"quiet:": true,
"overwrite": false,
"html": false,
"json": true,
"timestamp": "mmddyyyy_HHMMss"
}

My Script command looks like:
"merge-reports": "mochawesome-merge cypress/reports/*.json > cypress/reports/mochareports/report.json",
"generate-report": "marge cypress/reports/mochareports/report.json -f report -o cypress/reports/mochareports"

I am not sure, what am I missing as everything seems okay and as per the documentation.
Really appreciate your help in leading me to the incorrect configuration if any / provide necessary inputs.

Thanks for your help in advance.

@joakim-sch
Copy link

joakim-sch commented Aug 3, 2023

The issue seems to be related to typescript ^5
A temporary solution is to downgrade typescript to 4.9.5

edit: I had success with setting "sourceMap": false in tsconfig.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants