github-pr-automation
Version:
MCP server and CLI for automated GitHub PR management, review resolution, and workflow optimization
35 lines (32 loc) • 791 B
text/typescript
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/**/*.test.ts', 'tests/**/*.cli.test.ts'],
exclude: ['tests/integration/**', 'tests/e2e.disabled/**'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
exclude: [
'node_modules/',
'dist/',
'tests/',
'**/*.test.ts',
'**/*.spec.ts',
'**/*.d.ts',
'**/types/',
'**/*.config.ts',
'scripts/**' // Build scripts only
],
thresholds: {
lines: 80,
functions: 80,
branches: 65,
statements: 80
}
},
setupFiles: ['./tests/setup.ts'],
testTimeout: 10000
}
});