☕️ simple, flexible, fun javascript test framework for node.js & the browser
MIT License
.cause
stacks in the error stack traces (@voxpelli)Published by JoshuaKGoldberg 9 months ago
This is a stable release equivalent to v10.3.0-preminor.0.
titlePath
method by @F3n67u in https://github.com/mochajs/mocha/pull/4886
Full Changelog: https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0
Published by JoshuaKGoldberg 9 months ago
A test release tagged with next
on npm, to test that we can do releases at all. See #5081 for context.
titlePath
method by @F3n67u in https://github.com/mochajs/mocha/pull/4886
Full Changelog: https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0-preminor.0
Published by juergba almost 2 years ago
Published by juergba about 2 years ago
Promise.allSettled
instead of polyfill (@outsideris)clean
(@yetingli)Published by juergba over 2 years ago
#4863: Rename executable bin/mocha
to bin/mocha.js
(@juergba)
#4865: --ignore
option in Windows: upgrade Minimatch (@juergba)
#4876: Add Node.js v18 to CI test matrix (@outsideris)
#4852: Replace deprecated String.prototype.substr()
(@CommanderRoot)
Also thanks to @ea2305 and @SukkaW for improvements to our documentation.
Published by juergba over 2 years ago
Published by juergba almost 3 years ago
Please also note our announcements.
Published by juergba about 3 years ago
Please also note our announcements.
EVENT_SUITE_ADD_*
events (@beatfactor)Published by juergba about 3 years ago
Please also note our announcements.
browser-entry.js
(@PaperStrike)Published by juergba about 3 years ago
Please also note our announcements.
XUNIT
and JSON
reporter crash in parallel
mode (@curtisman)Published by juergba over 3 years ago
Published by juergba over 3 years ago
We added a separate browser bundle mocha-es2018.js
in javascript ES2018, as we skipped the transpilation down to ES5. This is an experimental step towards freezing Mocha's support of IE11.
hasStableEsmImplementation
(@alexander-fenster)Published by juergba over 3 years ago
Mocha is going ESM-first! This means that it will now use ESM import(test_file)
to load the test files, instead of the CommonJS require(test_file)
. This is not a problem, as import
can also load most files that require
does. In the rare cases where this fails, it will fallback to require(...)
. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.
#4638: Limit the size of actual
/expected
for diff
generation (@juergba)
#4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@MoonSupport)
Published by juergba over 3 years ago
options.require
to Mocha constructor for root hook
plugins on parallel runs (@juergba)top-level await
and ESM test files (@juergba)Also thanks to @outsideris for various improvements on our GH actions workflows.
Published by juergba over 3 years ago
require
interface (@alexander-fenster)