-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Mocha Json reporter references the incorrect variable for reporterOptions #4741
Comments
@juergba Interesting, yeah things seem to be inconsistent. While mocha.js does define These 3 reporters use mocha/lib/reporters/progress.js Line 51 in 4860738
Line 44 in 4860738
Line 58 in 4860738
|
@juergba please reopen, see my comment above Another FYI, Cypress has also integrated with |
It works with the canonical name |
I have with Cypress. Since it should be an alias parameters, then Cypress has a bug with their integration. |
…reportOptions` to match expectations in mocha This resolves issues with being unable to pass options to reporters complying with the newer `reportOption` name, as noted here: mochajs/mocha#4741
The reporter references are variable called
reporterOption
however there is no such thing, it isreporterOptions
with an s at the end of itmocha/lib/reporters/json.js
Line 47 in 4860738
Added in 4607
Requested in 4131
The text was updated successfully, but these errors were encountered: