diff --git a/package.json b/package.json index 478f3db7f..8993b430a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/browser/package.json b/packages/browser/package.json index c2ffefa1a..a9b02b554 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -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" } diff --git a/packages/chai/package.json b/packages/chai/package.json index 37ed70414..f64e43d21 100644 --- a/packages/chai/package.json +++ b/packages/chai/package.json @@ -28,7 +28,7 @@ "node": ">=8.10" }, "devDependencies": { - "mocha": "^7.0.0", + "mocha": "^7.0.1", "sinon": "^8.0.0" }, "peerDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 06e5e9f28..ed05a3389 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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" } diff --git a/packages/lifecycle/package.json b/packages/lifecycle/package.json index aad8de3e5..71011b73d 100644 --- a/packages/lifecycle/package.json +++ b/packages/lifecycle/package.json @@ -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" } diff --git a/packages/mocha/package.json b/packages/mocha/package.json index 460f6b1ca..4cfc51f94 100644 --- a/packages/mocha/package.json +++ b/packages/mocha/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "clear-module": "^4.0.0", - "mocha": "^7.0.0", + "mocha": "^7.0.1", "tmp": "0.1.0" } } diff --git a/packages/mocha/src/index.js b/packages/mocha/src/index.js index 656e911e4..7d13f05e3 100644 --- a/packages/mocha/src/index.js +++ b/packages/mocha/src/index.js @@ -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; diff --git a/packages/page-objects/package.json b/packages/page-objects/package.json index d46cbe5ab..1b2b8c7dd 100644 --- a/packages/page-objects/package.json +++ b/packages/page-objects/package.json @@ -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" } diff --git a/packages/remote/package.json b/packages/remote/package.json index ef9ca0671..d36b0df3a 100644 --- a/packages/remote/package.json +++ b/packages/remote/package.json @@ -38,7 +38,7 @@ "yn": "^3.1.1" }, "devDependencies": { - "mocha": "^7.0.0", + "mocha": "^7.0.1", "sinon": "^8.0.0" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index c0a6746ed..20f0a7ae9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -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" } diff --git a/yarn.lock b/yarn.lock index b67405500..aabed1f0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"