Skip to content

Mocha

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • mocha

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"mocha": {
"config": [
".mocharc.{js,cjs,json,jsonc,yml,yaml}",
"package.json"
],
"entry": [
"**/test/*.{js,cjs,mjs}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert