mocha v7.0.0-esm1 Release Notes
Release Date: 2020-01-12 // over 4 years ago-
7.0.0-esm1 / 2020-01-12
๐ This is an experimental release based on v7.0.0:
npm i [email protected]
๐ฑ ๐ Enhancements
#4038: Add Node.js native ESM support (@giltayar)
โ Enables Mocha to load ECMAScript Modules test files, also valid for
--file
option.Limitations:
- Node.js only v12.11.0 and above
- Node.js below v13.2.0, you must set
--experimental-modules
option - ๐ ESM not (yet) supported for:
--watch
mode--require
option--reporter
custom reporters--ui
custom interfacesmocharc
configuration file