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 Pull Request updates dependency mocha from
v3.5.3
tov5.1.1
Release Notes
v4.0.0
You might want to read this before filing a new bug! 😝
💥 Breaking Changes
For more info, please read this article.
Compatibility
Default Behavior
node
from exiting will do so when run in Mocha. Supply the--exit
flag to revert to pre-v4.0.0 behavior ([@ScottFreeCode], [@boneskull])Reporter Output
stdout:
prefix from browser reporter logs (@skeggse)--forbid-pending
or--forbid-only
is specified ([@ScottFreeCode])👎 Deprecations
--compilers
command-line option is now soft-deprecated and will emit a warning onSTDERR
. Read this for more info and workarounds ([@ScottFreeCode], [@boneskull])🎉 Enhancements
📖 Documentation
README.md
andCONTRIBUTING.md
(@skeggse)🔩 Other
v4.0.1
🐛 Fixes
v4.1.0
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
🐛 Fixes
progress
reporter now accepts reporter options (@canoztokmak)xit
inbdd
interface now properly returns itsTest
object (@Bamieh)--help
will now help you even if you have amocha.opts
(@Zarel)🎉 Enhancements
--no-diff
flag will completely disable diff output (@CapacitorSet)📖 Documentation
docs/
([@boneskull])🔩 Other
v5.0.0
Mocha starts off 2018 right by again dropping support for unmaintained rubbish.
Welcome @vkarpov15 to the team!
💥 Breaking Changes
Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
🎉 Enhancements
--file
command line argument (documentation) (@hswolff)🐛 Fixes
😎 Developer Experience
📖 Documentation
--no-timeouts
docs (@dfberry)done()
callback docs (@maraisr)README.md
organization (@xxczaki)🔩 Other
v5.0.1
...your garden-variety patch release.
Special thanks to Wallaby.js for their continued support! ❤️
🐛 Fixes
--delay
now works with.only()
(@silviom)📖 Documentation
--glob
docs (@outsideris)🔩 Other
v5.0.2
This release fixes a class of tests which report as false positives. Certain tests will now break, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!
🐛 Fixes
#3226: Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull]). Example:
Previously to this version, Mocha would have silently swallowed the
chaos!
exception, and you wouldn't know. Well, now you know. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.Maintainers of external reporters: If a test of this class is encountered, the
Runner
instance will emit theend
event twice; you may need to change your reporter to userunner.once('end')
intead ofrunner.on('end')
.#3093: Fix stack trace reformatting problem (@outsideris)
🔩 Other
browser-stdout
to v1.3.1 (@honzajavorek)v5.0.3
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
🔒 Security Fixes
diff
to v3.5.0 (@anishkny)🔩 Other
generateDiff()
inBase
reporter (@harrysarson)v5.0.4
🐛 Fixes
v5.0.5
Welcome @outsideris to the team!
🐛 Fixes
--bail
failing to bail within hooks (@outsideris)describe.skip()
) (@outsideris)📖 Documentation
CHANGELOG.md
(@tagoro9, @honzajavorek)🔩 Other
v5.1.0
🎉 Enhancements
--exclude
option (@metalex9)🐛 Fixes
📖 Documentation
🔩 Other
v5.1.1
🐛 Fixes
--watch
([@boneskull])Commits
v5.0.0
a723b8f
lint Markdown; closes #3172b2697a7
add --no-timeouts to docs; closes #3137 (#3176)cb09e8b
document Error/undefined params to the 'done' callback; closes #3134e54370e
replace phantomjs with puppeteer for browser tests; closes #3128565726d
Added Netlify config filee8b5592
Align netlify config with admin panelac1dd70
attempt to get travis working again5c6e99b
update ESM tests to run against headless chrome instead of saucelabs' chrome onlyc7730a6
Drop TextMate integration inside mocha closes TextMate integration? mochajs/mocha#31180a3e32b
Rewrite Makefile using NPS Scripts. Closes #23527d8abe0
fix id and class definition50aec7a
Add ability to pass in test files to be ran before positional files via --file (#3190)401997f
update package-lock.jsonf8a1d2a
docs(index): add missing doc link (#3203); closes #3135dc58252
prep changelog for v5.0.0 [ci skip]a7267b4
remove more references to make and Makefile9f61c04
finalize v5.0.0 CHANGELOG [ci skip]cc4a818
Release v5.0.0v5.0.1
c0ac1b9
fix travis "before script" script2fe2d01
Revert "fix travis "before script" script"bca57f4
clarify docs on html, xunit and 3p reporters; closes #19062e7e4c0
rename "common-mistake" label to "faq"14fc030
Add all supported wallaby editorsf687d2b
update docs for the globcd74322
Slight copy update on docs for test directoryb57f623
fix: When using --delay, .only() no longer works. Issue #18383509029
update .gitignore to only ignore root mocha.js [ci skip]d975a6a
fix memory leak when run in v8; closes #3119b7377b3
rename help-wanted to "help wanted" in stale.yml412cf27
[Update] license year44aae9f
add working wallaby config70027b6
update changelog for v5.0.1 [ci skip]09ce746
Release v5.0.173d55ac
fix typos in changelog [ci skip]c4ef568
fix PR urlv5.0.2
f71f347
rename wallaby.js -> .wallaby.jsec8901a
remove unused functionality in utils module3537061
Update to correctly licensed browser-stdout version2c720a3
do not eat exceptions thrown asynchronously from passed tests; closes #32265078fc5
persist paths in stack trace which have cwd as infix3792bef
add opencollective header image to assets/afcd08f
add MAINTAINERS.md to .fossaignore [ci skip]0542c40
update README.md; closes #3191 [ci skip]6a796cb
prepare CHANGELOG for v5.0.2 [ci skip]ff1bd9e
update package-lock.jsonf2ee53c
Release v5.0.2v5.0.3
bdcb3c3
exposes generateDiff function from base reporter660bccc
adds unit tests covering Base.generateDiff8df5727
Tidies up code after reviewaaaa5ab
fix: ReDoS vuln in mocha@5.0.2 › diff@3.3.1 (#3266)70d9262
update CHANGELOG.md for v5.0.3 [ci skip]da6e5c9
Release v5.0.3v5.0.4
eb09421
restore removed methods which still used868830a
update CHANGELOG.md for v5.0.4 [ci skip]851ad29
Release v5.0.4v5.0.5
aa592f4
update package-lock.json85cb5c1
add .vscode/ to .gitignore3d09381
add Karma "ChromeDebug" custom launcher for VSCode [ci skip]e19e879
ensure lib/mocha.js is not ignored by ESLint86af6bb
fix my carelessness in e19e879d76f490
chore(ci): Remove PHANTOMJS_CDNURL, nit27af2cf
fix(changelog): update links to some PRs39df783
docs: Fix typo in an emoji0060884
keep hierarchy for skipped suites w/o a callback6383916
fix to bail option works properly with hooks (#3278)ab84f02
chore(docs): rewording pending tests2c19503
Fixed linting19b764d
Addressed feedbackf4275b6
extract checking AMD bundle as own test19104e3
fix debug msg in Runnable#slow; closes #2952424ef84
increase default timeout for browser unit tests3633fa0
append filepath to "timeout exceeded" exception; closes #627- all `Runnable`s should now have a `file` property- filepath is appended to the `Error` message in parens- DRY-style refactorsc580294
remove default js in "--watch-extensions" option; closes #3275v5.1.0
2b5d04a
add changes for v5.0.5 [ci skip]ffd760e
Release v5.0.58e740c5
#1577 Add "--exclude" Option (#3210)9ba8eca
Refactor Reporter tests (#3272)d8522b4
remove 0-byte file [ci skip]1701335
use exact version of minimatch [ci skip]35dac3e
use build stages for Travis CI (#3302)cd1c835
upgrade eslint; lintf2560e7
add update-contributors script; closes #3289 (#3290)ff9f3cf
update stages and build matrices (#3308)4ae26b2
improve caching performance in CI (#3310)88b9882
update package-lock.json for v5.0.5 [ci skip]7544bd3
further build improvements (#3315)d71b80a
PATH workaround for Travis CI bug8b6c957
optimize package-scripts.js94e7289
doc precision for exclusive tests8010501
fix wrong version in package.json! [ci skip]741b0bd
fix circular objects in json reporter; closes #2433 (#3318)1acea30
Tap reporter: report thrown error messages (#3317)2f48a23
Implement API documentation using npm:documantation.v5.1.1
56e8452
update CHANGELOG for v5.1.0 [ci skip]3ac8e55
Release v5.1.058efe58
update package-lock.json [ci skip]2d1b49c
fix ESLint problems and consolidate configuration07e1ed2
update outdated info in docs/README.md [ci skip]This PR has been generated by Renovate Bot.