sh-mcp/vitest.config.ts

31 lines
649 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['packages/**/*.ts', 'servers/**/*.ts', 'jobs/**/*.ts', 'auth/**/*.ts'],
exclude: [
'node_modules/',
'dist/',
'**/*.d.ts',
'**/*.test.ts',
'**/*.spec.ts',
],
lines: 80,
functions: 80,
branches: 80,
statements: 80,
thresholds: {
lines: 80,
functions: 80,
branches: 80,
statements: 80,
},
},
},
});