Add filename to Mocha reporter #17414
Labels
stage: proposal 💡
No work has been done of this issue
stale
no activity on this issue for a long period
topic: reporters 📄
What would you like?
I'm using https://github.com/marketplace/actions/test-reporter to show test results in Github actions. Mocha added a
file
property to test results in mochajs/mocha#4219, but running Cypress with a JSON Mocha reporter results infile
being null for all test cases.Here is a pared-down repository reproducing the behavior: https://github.com/ryanrishi/cypress-mocha-json-file-null
Why is this needed?
One use case is to show Cypress test results in Github actions using https://github.com/marketplace/actions/test-reporter.
Other
Mocha is pinned at 7.0.1, and this change was introduced in 7.2.0.
Possible relates to #3960
The text was updated successfully, but these errors were encountered: