Skip to content

Commit

Permalink
fix: use documented reporterOption
Browse files Browse the repository at this point in the history
instead of intuitive `reporterOptions`
mochajs/mocha#4142 (comment)
  • Loading branch information
Kelly Selden committed Jan 13, 2020
1 parent fa98853 commit 0e2cf10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mocha/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ async function runTests({
grep,
color: true,
reporter,
reporterOptions,

// https://github.com/mochajs/mocha/issues/4142#issuecomment-573295470
reporterOption: reporterOptions,
};
if (disableTimeouts) {
mochaOpts.timeout = false;
Expand Down

0 comments on commit 0e2cf10

Please sign in to comment.