Skip to content

Jest

Enabled

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

  • jest

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"jest": {
"config": [
"jest.config.{js,ts,mjs,cjs,json}",
"package.json"
],
"entry": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
]
}
}

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

See Plugins for more details.

ISC License © 2024 Lars Kappert