mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2026-01-30 06:12:05 +00:00
28 lines
665 B
TypeScript
28 lines
665 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
/**
|
|
* Package-specific Vitest configuration for @tm/profiles
|
|
* Only tests the profile classes, not the command definitions
|
|
*/
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['src/**/*.spec.ts', 'src/**/*.test.ts', 'tests/**/*.test.ts'],
|
|
exclude: ['node_modules', 'dist'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
enabled: true,
|
|
reporter: ['text'],
|
|
// Only measure coverage for profile classes
|
|
exclude: ['node_modules', 'dist', 'src/slash-commands/commands/**'],
|
|
thresholds: {
|
|
branches: 70,
|
|
functions: 80,
|
|
lines: 80,
|
|
statements: 80
|
|
}
|
|
}
|
|
}
|
|
});
|