Skip to content

Jest

Enabled

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

  • jest

Default configuration

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

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

ISC License © 2024 Lars Kappert