Files
claude-task-master/vitest.integration.config.ts
Ralph Khreish 526cb581ef chore: refactor Vitest configuration for unit and integration tests
- Split the main Vitest configuration into separate unit and integration configurations for better clarity and management.
- Update CLI and MCP package scripts to use the new configuration files.
- Remove legacy configuration files from CLI and MCP packages.
2026-01-27 19:30:39 +01:00

21 lines
487 B
TypeScript

import { defineConfig } from 'vitest/config';
/**
* Integration test configuration
* Runs .test.ts files only, no coverage
*/
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/**/*.test.ts', 'src/**/*.test.ts'],
exclude: ['node_modules', 'dist', '.git', '.cache', '**/node_modules/**'],
coverage: { enabled: false },
passWithNoTests: true,
testTimeout: 30000,
clearMocks: true,
restoreMocks: true,
mockReset: true
}
});