Bump mocha from 2.5.3 to 8.0.1
Bumps mocha from 2.5.3 to 8.0.1.
Release notes
Sourced from mocha's releases.
v8.0.1
8.0.1 / 2020-06-10
The obligatory patch after a major.
:bug: Fixes
- #4328: Fix
--parallelwhen combined with--watch(@boneskull)v8.0.0
8.0.0 / 2020-06-10
In this major release, Mocha adds the ability to run tests in parallel. Better late than never! Please note the breaking changes detailed below.
Let's welcome @giltayar and @nicojs to the maintenance team!
:boom: Breaking Changes
#4164: Mocha v8.0.0 now requires Node.js v10.0.0 or newer. Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 (@UlisesGascon)
#4175: Having been deprecated with a warning since v7.0.0,
mocha.optsis no longer supported (@juergba):sparkles: WORKAROUND: Replace
mocha.optswith a configuration file.#4260: Remove
enableTimeout()(this.enableTimeout()) from the context object (@craigtaub):sparkles: WORKAROUND: Replace usage of
this.enableTimeout(false)in your tests withthis.timeout(0).#4315: The
specoption no longer supports a comma-delimited list of files (@juergba):sparkles: WORKAROUND: Use an array instead (e.g.,
"spec": "foo.js,bar.js"becomes"spec": ["foo.js", "bar.js"]).#4309: Drop support for Node.js v13.x line, which is now End-of-Life (@juergba)
#4282:
--forbid-onlywill throw an error even if exclusive tests are avoided via--grepor other means (@arvidOtt)#4223: The context object's
skip()(this.skip()) in a "before all" (before()) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (@juergba)#4178: Remove previously soft-deprecated APIs (@wnghdcjfe):
Mocha.prototype.ignoreLeaks()Mocha.prototype.useColors()Mocha.prototype.useInlineDiffs()Mocha.prototype.hideDiff():tada: Enhancements
... (truncated)
#4245: Add ability to run tests in parallel for Node.js (see docs) (@boneskull)
:exclamation: See also #4244; Root Hook Plugins (docs) -- root hooks must be defined via Root Hook Plugins to work in parallel mode
Changelog
Sourced from mocha's changelog.
8.0.1 / 2020-06-10
The obligatory patch after a major.
:bug: Fixes
- #4328: Fix
--parallelwhen combined with--watch(@boneskull)8.0.0 / 2020-06-10
In this major release, Mocha adds the ability to run tests in parallel. Better late than never! Please note the breaking changes detailed below.
Let's welcome @giltayar and @nicojs to the maintenance team!
:boom: Breaking Changes
#4164: Mocha v8.0.0 now requires Node.js v10.0.0 or newer. Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 (@UlisesGascon)
#4175: Having been deprecated with a warning since v7.0.0,
mocha.optsis no longer supported (@juergba):sparkles: WORKAROUND: Replace
mocha.optswith a configuration file.#4260: Remove
enableTimeout()(this.enableTimeout()) from the context object (@craigtaub):sparkles: WORKAROUND: Replace usage of
this.enableTimeout(false)in your tests withthis.timeout(0).#4315: The
specoption no longer supports a comma-delimited list of files (@juergba):sparkles: WORKAROUND: Use an array instead (e.g.,
"spec": "foo.js,bar.js"becomes"spec": ["foo.js", "bar.js"]).#4309: Drop support for Node.js v13.x line, which is now End-of-Life (@juergba)
#4282:
--forbid-onlywill throw an error even if exclusive tests are avoided via--grepor other means (@arvidOtt)#4223: The context object's
skip()(this.skip()) in a "before all" (before()) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites (@juergba)#4178: Remove previously soft-deprecated APIs (@wnghdcjfe):
Mocha.prototype.ignoreLeaks()Mocha.prototype.useColors()Mocha.prototype.useInlineDiffs()Mocha.prototype.hideDiff():tada: Enhancements
... (truncated)
#4245: Add ability to run tests in parallel for Node.js (see docs) (@boneskull)
:exclamation: See also #4244; Root Hook Plugins (docs) -- root hooks must be defined via Root Hook Plugins to work in parallel mode
Commits
9b203faRelease v8.0.1ad8d83dupdate CHANGELOG for v8.0.1 [ci skip]66ce143fix --parallel --watch; closes #4327e0e6568update release process in MAINTAINERS.mdfc618a1Switch opencollective images to self-hosted spritesheet (#4318)612fa31Release v8.0.057fbbeeupdate changelog for v8.0.026c6caeoptions 'spec' and 'ignore': no splitting by comma2da50aaadd a section regarding 3p reporters & parallel modedc26e90disable parallel mode by default- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)