Changelog
9.1.3 / 2021-10-15
EVENT_SUITE_ADD_*
events (@beatfactor)Changelog
9.0.1 / 2021-06-18
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)Changelog
9.0.0 / 2021-06-07
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)
Changelog
8.4.0 / 2021-05-07
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.
Changelog
8.3.2 / 2021-03-12
require
interface (@alexander-fenster)