Files
breakpilot-compliance/consent-sdk/vitest.config.ts
Benjamin Boenisch 4435e7ea0a Initial commit: breakpilot-compliance - Compliance SDK Platform
Services: Admin-Compliance, Backend-Compliance,
AI-Compliance-SDK, Consent-SDK, Developer-Portal,
PCA-Platform, DSMS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 23:47:28 +01:00

35 lines
786 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./test-setup.ts'],
include: ['src/**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'dist/',
'**/*.d.ts',
'test-setup.ts',
'vitest.config.ts',
// Framework integrations require separate component testing
'src/react/**',
'src/vue/**',
'src/angular/**',
// Re-export index files
'src/index.ts',
'src/core/index.ts',
],
thresholds: {
statements: 80,
branches: 70,
functions: 80,
lines: 80,
},
},
},
});