Skip to content

Vitest

Enabled

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

  • vitest

Default configuration

{
"vitest": {
"config": [
"vitest*.config.{js,mjs,ts,cjs,mts,cts}",
"vitest.{workspace,projects}.{ts,js,json}"
],
"entry": [
"**/*.{bench,test,test-d,spec}.?(c|m)[jt]s?(x)"
]
}
}

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

ISC License © 2024 Lars Kappert