Mocha v9.0.0 Release Notes
Release Date: 2021-06-07 // almost 3 years ago-
:boom: Breaking Changes
Mocha is going ESM-first! This means that it will now use ESM
import(test_file)
to load the test files, instead of the CommonJSrequire(test_file)
. This is not a problem, asimport
can also load most files thatrequire
does. In the rare cases where this fails, it will fallback torequire(...)
. 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
fordiff
generation (@juergba)👍 #4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@MoonSupport)
:tada: Enhancements
🛠 :bug: Fixes
:nut_and_bolt: Other