mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2026-01-30 06:12:05 +00:00
- 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.
21 lines
480 B
TypeScript
21 lines
480 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
/**
|
|
* Unit test configuration
|
|
* Runs .spec.ts files only, no coverage
|
|
*/
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/**/*.spec.ts', 'src/**/*.spec.ts'],
|
|
exclude: ['node_modules', 'dist', '.git', '.cache', '**/node_modules/**'],
|
|
coverage: { enabled: false },
|
|
passWithNoTests: true,
|
|
testTimeout: 10000,
|
|
clearMocks: true,
|
|
restoreMocks: true,
|
|
mockReset: true
|
|
}
|
|
});
|