Skip to content

Commit

Permalink
fix: use reporterOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Jan 27, 2020
1 parent b7b3547 commit fa12972
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/mocha/src/index.js
Expand Up @@ -52,9 +52,7 @@ async function runTests({
grep,
color: true,
reporter,

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

0 comments on commit fa12972

Please sign in to comment.