chore(deps): update dependency mocha to v7 #213
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.2.0
->7.2.0
Release Notes
mochajs/mocha (mocha)
v7.2.0
Compare Source
🎉 Enhancements
🐛 Fixes
--forbid-only
does not recognizeit.only
whenbefore
crashes (@arvidOtt)📖 Documentation
🔩 Other
v7.1.2
Compare Source
🔩 Other
📖 Documentation
v7.1.1
Compare Source
🔒 Security Fixes
🐛 Fixes
runner
listening tostart
andend
events (@juergba)📖 Documentation
v7.1.0
Compare Source
🎉 Enhancements
#4038: Add Node.js native ESM support (@giltayar)
Mocha supports writing your test files as ES modules:
--experimental-modules
optionNote: Node.JS native ECMAScript Modules implementation has status: Stability: 1 - Experimental
🐛 Fixes
allowUncaught
option (@juergba)📖 Documentation
package.json
(@outsideris)🔩 Other
v7.0.1
Compare Source
🐛 Fixes
reporterOptions
(@holm)📖 Documentation
🔩 Other
v7.0.0
Compare Source
💥 Breaking Changes
--debug
/--debug-brk
and deprecatedebug
argument (@juergba)--list-interfaces
replaces--interfaces
--list-reporters
replaces--reporters
this.skip()
(@juergba):it
test, relatedafterEach
hooks are now executedbeforeEach
hook, subsequent innerbeforeEach
hooks are now skipped and relatedafterEach
hooks are executedthis.skip()
withinafter
hooksgetOptions()
andlib/cli/options.js
(@juergba)pending
test: don't swallow, but retrospectively fail the test for correct exit code (@juergba)Mocha
constructor's option names with command-line options (@juergba)🎉 Enhancements
--watch
mode with chokidar (@geigerzaehler):--watch-files
and--watch-ignore
--watch-extensions
📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
mocha.opts
(@juergba)🐛 Fixes
--inspect-brk
/--inspect
(@juergba)Mocha
constructor: improve browser setup (@juergba)--allow-uncaught
withthis.skip()
(@juergba)🔍 Coverage
📖 Documentation
done()
(@jgehrcke):coffee:
with emoji ☕️ (@pzrq)sh
tobash
for code block in docs/index.md (@HyunSangHan)🔩 Other
package.json
(@Munter)v6.2.3
Compare Source
🔒 Security Fixes
v6.2.2
Compare Source
🐛 Fixes
EVENT_RUN_END
events upon uncaught exception (@juergba)html
reporter (browser) (@pec9399)📖 Documentation
v6.2.1
Compare Source
🐛 Fixes
📖 Documentation
v6.2.0
Compare Source
🎉 Enhancements
🐛 Fixes
--file
(@gabegorelick)global
orglobals
(@pascalpp)_mocha
binary (@juergba)--timeout
/--slow
string values and duplicate arguments (@boneskull, @juergba)📖 Documentation
🔍 Coverage
--watch
options (@geigerzaehler)🔩 Other
--watch
mode behavior (@geigerzaehler)runWatch
into separate module (@geigerzaehler)mocha.min.js
file to stacktrace filter (@brian-lagerman)--exclude
to--ignore
and create alias (@boneskull)mocha.css
(@DanielRuf)v6.1.4
Compare Source
🔒 Security Fixes
v6.1.3
Compare Source
🐛 Fixes
yargs
-related global scope pollution (@inukshuk)pnpm
(@boneskull)v6.1.2
Compare Source
🐛 Fixes
v6.1.1
Compare Source
🐛 Fixes
v6.1.0
Compare Source
🔒 Security Fixes
🎉 Enhancements
options
parameter (@plroebuck).jsonc
extension (@sstephant)📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
this.skip()
for "after all" hooks (@juergba)🐛 Fixes
this.skip()
in "before each" hooks (@juergba)--allow-uncaught
for uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suite
cloning by copyingroot
property (@fatso83)📖 Documentation
🔩 Other
v6.0.2
Compare Source
🐛 Fixes
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certainnode
flags (@boneskull)v6.0.1
Compare Source
The obligatory round of post-major-release bugfixes.
🐛 Fixes
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from adescribe
callback is no longer considered deprecated (@boneskull)📖 Documentation
@mocha/docdash@2
(@tendonstrength)v6.0.0
Compare Source
🎉 Enhancements
require
cache (@plroebuck)🐛 Fixes
Suite#_onlyTests
andSuite#_onlySuites
(@vkarpov15)lookupFiles
andfiles
(@plroebuck)--delay
(and other boolean options) not working in all cases (@boneskull)--reporter-option
/--reporter-options
did not support comma-separated key/value pairs (@boneskull)📖 Documentation
🔩 Other
Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.