☕️ simple, flexible, fun javascript test framework for node.js & the browser
MIT License
Published by boneskull almost 7 years ago
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
progress
reporter now accepts reporter options (@canoztokmak)xit
in bdd
interface now properly returns its Test
object (@Bamieh)--help
will now help you even if you have a mocha.opts
(@Zarel)--no-diff
flag will completely disable diff output (@CapacitorSet)docs/
(@boneskull)Published by boneskull about 7 years ago
Published by boneskull about 7 years ago
You might want to read this before filing a new bug! 😝
For more info, please read this article.
node
from exiting will do so when run in Mocha. Supply the --exit
flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)stdout:
prefix from browser reporter logs (@skeggse)--forbid-pending
or --forbid-only
is specified (@ScottFreeCode)--compilers
command-line option is now soft-deprecated and will emit a warning on STDERR
. Read this for more info and workarounds (@ScottFreeCode, @boneskull)Published by boneskull about 7 years ago
Published by boneskull about 7 years ago
xit
export for "require" interface (@solodynamo)--compilers
coverage (@ScottFreeCode)Published by boneskull about 7 years ago
--forbid-only
and --forbid-pending
flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph)--napi-modules
flag (@jupp0r)Published by dasilvacontin over 7 years ago
Published by ScottFreeCode over 7 years ago
Fixed a publishing mishap with git's autocrlf settings.
Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.
This week's highlights:
allowUncaught
added to commandline as --allow-uncaught
(and bugfixed)--no-warnings
and --trace-warnings
flags (@sonicdoe)Published by dasilvacontin over 7 years ago
Thanks to all our contributors, maintainers, sponsors, and users! ❤️
As highlights:
--inspect-brk
on command-line (@igwejk)semistandard
directly (@kt3k)Published by boneskull almost 8 years ago
Mocha is proud to have joined the JS Foundation. For more information, read the announcement.
Under the foundation, all contributors to Mocha must sign the JS Foundation CLA before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.
Mocha remains licensed under the MIT license.
--watch
encounters broken symlinks (@villesau)list
reporter (@Aldaviva)--inspect
flag to CLI help (@ughitsaaron)README.md
(@boneskull, @ScottFreeCode, @dasilvacontin)Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
Published by boneskull about 8 years ago
Error
's stack
property isn't writable ([@boneskull])Published by boneskull about 8 years ago
done()
was called multiple times when it wasn't (@frankleonrose).js
files ([@boneskull])Published by boneskull about 8 years ago
--inspect
on command-line (@simov)this.skip()
is called (@boneskull)SIGINT
encountered; exit code can no longer rollover at 256 (@Munter)only()
/skip()
in IE7/IE8 (@boneskull)String
constructor (more) (@boneskull)Published by boneskull about 8 years ago
Published by boneskull over 8 years ago
See #2350 and CHANGELOG.md
in the v3.0.0
branch.
Published by boneskull over 8 years ago
See #2350 for more information.
Published by boneskull over 8 years ago
See #2350 for more information.