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>
This commit is contained in:
34
consent-sdk/vitest.config.ts
Normal file
34
consent-sdk/vitest.config.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user