diff --git a/bin/_mocha b/bin/_mocha index 0f4af125a9..7e2a47a890 100755 --- a/bin/_mocha +++ b/bin/_mocha @@ -367,19 +367,6 @@ if (program.reporterOptions !== undefined) { mocha.reporter(program.reporter, reporterOptions); -// load reporter - -let Reporter = null; -try { - Reporter = require(`../lib/reporters/${program.reporter}`); -} catch (err) { - try { - Reporter = require(program.reporter); - } catch (err2) { - throw new Error(`reporter "${program.reporter}" does not exist`); - } -} - // --no-colors if (!program.colors) {