Skip to content

Mocha

Enabled

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

  • mocha

Default configuration

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

Custom config or entry configuration overrides the defaults, they are not merged.

ISC License © 2024 Lars Kappert