Skip to content

Commit

Permalink
fix: bring back 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 630e186
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eslint-plugin-mocha": "^6.0.0",
"eslint-plugin-node": "^11.0.0",
"execa": "^3.0.0",
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"mocha-helpers": "^4.2.1",
"monorepo-next": "0.2.27",
"remark-cli": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"verror-extra": "^1.0.0"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0",
"tmp": "0.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/chai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"node": ">=8.10"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@faltest/mocha": "^1.0.7",
"@faltest/remote": "^3.0.9",
"@faltest/utils": "^2.0.4",
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"yargs": "^15.0.0",
"yn": "^3.1.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@faltest/browser": "^2.0.5"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0",
"tmp": "0.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"clear-module": "^4.0.0",
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"tmp": "0.1.0"
}
}
4 changes: 1 addition & 3 deletions packages/mocha/src/index.js
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion packages/page-objects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"verror-extra": "^1.0.0"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0",
"tmp": "0.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"yn": "^3.1.1"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"debug": "^4.1.1"
},
"devDependencies": {
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"sinon": "^8.0.0",
"tmp": "0.1.0"
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3227,10 +3227,10 @@ mocha@^6.2.0:
yargs-parser "13.1.1"
yargs-unparser "1.6.0"

mocha@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-7.0.0.tgz#c60d14bf3de9601f549b3ff5be657eb8381c54bf"
integrity sha512-CirsOPbO3jU86YKjjMzFLcXIb5YiGLUrjrXFHoJ3e2z9vWiaZVCZQ2+gtRGMPWF+nFhN6AWwLM/juzAQ6KRkbA==
mocha@^7.0.1:
version "7.0.1"
resolved "https://registry.npmjs.org/mocha/-/mocha-7.0.1.tgz#276186d35a4852f6249808c6dd4a1376cbf6c6ce"
integrity sha512-9eWmWTdHLXh72rGrdZjNbG3aa1/3NRPpul1z0D979QpEnFdCG0Q5tv834N+94QEN2cysfV72YocQ3fn87s70fg==
dependencies:
ansi-colors "3.2.3"
browser-stdout "1.3.1"
Expand Down

0 comments on commit 630e186

Please sign in to comment.