Skip to content

Ava

Enabled

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

  • ava

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"ava": {
"config": [
"ava.config.{js,cjs,mjs}",
"package.json"
],
"entry": [
"test.{js,cjs,mjs,ts}",
"{src,source}/test.{js,cjs,mjs,ts}",
"**/__tests__/**/*.{js,cjs,mjs,ts}",
"**/*.spec.{js,cjs,mjs,ts}",
"**/*.test.{js,cjs,mjs,ts}",
"**/test-*.{js,cjs,mjs,ts}",
"**/test/**/*.{js,cjs,mjs,ts}",
"**/tests/**/*.{js,cjs,mjs,ts}",
"!**/__tests__/**/__{helper,fixture}?(s)__/**/*",
"!**/test?(s)/**/{helper,fixture}?(s)/**/*"
]
}
}

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

See Plugins for more details.

ISC License © 2024 Lars Kappert