diff --git a/vitest.config.ts b/vitest.config.ts index 14814da1..094b0897 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -25,7 +25,13 @@ const alias = { export default defineConfig({ test: { coverage: { - exclude: ['test/**'], + include: ['src/**'], + exclude: ['test/**', 'src/cli/**', 'src/bin.ts', '**/*.test-d.ts'], + thresholds: { + statements: 50, + branches: 50, + functions: 50, + }, }, globalSetup: ['./test/setup.global.ts'], projects: [