diff --git a/packages/vitest/src/defaults.ts b/packages/vitest/src/defaults.ts index 2e623988778b..bf3df3eb32c2 100644 --- a/packages/vitest/src/defaults.ts +++ b/packages/vitest/src/defaults.ts @@ -1,7 +1,7 @@ import type { BenchmarkUserOptions, ResolvedCoverageOptions, UserConfig } from './types' import { isCI } from './utils/env' -export const defaultInclude = ['**/?(*.){test,spec}.?(c|m)[jt]s?(x)'] +export const defaultInclude = ['**/*.{test,spec}.?(c|m)[jt]s?(x)'] export const defaultExclude = ['**/node_modules/**', '**/dist/**', '**/cypress/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*'] export const benchmarkConfigDefaults: Required> = { include: ['**/*.{bench,benchmark}.?(c|m)[jt]s?(x)'],