Mocha — Migrating From mocha.opts to .mocharc.js Configuration File
Mocha supports a variety of configuration options. A typical approach configuring Mocha is the command line. Using Mocha from the CLI or via NPM scripts lets you pass down the desired options. Mocha supports a dedicated configuration file besides the command line flags. Until Mocha v7, the supported configuration file …
Continue Reading