Skip to content

Commit

Permalink
fix(cypress-multi-reporters): passing reportOption as an alias of `…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
chammond-tz committed Oct 19, 2023
1 parent 8c55986 commit 15ed727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress-multi-reporters/lib/MultiReporters.js
Expand Up @@ -93,7 +93,8 @@ function MultiReporters(runner, options) {
if (Reporter !== null) {
return new Reporter(
runner, {
reporterOptions
reporterOptions,
reporterOption: reporterOptions
}
);
}
Expand Down

0 comments on commit 15ed727

Please sign in to comment.