I have a Cypress project which uses Typescript and I want to include a reporter.
Problem is that the reporter always shows only the compiled Javascript code.
I tried to google but the only thing I found was an unanswered question on stackoverflow. I also tried like 6 reporter, but every reporter used 'mochawesome-report-generator' as dependency or doesn't work at all.
I fixed it for me with a patch of mochawesome
patch-package./node_modules/mochawesome/src/mochawesome.jsI added atrunner.on('end', () => ...)directly afterendCalled = true;The regex is not the best, but its working in my cases