mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 16:14:12 +00:00
- Remove obsolete instruction documents (PROMPT_*.md, SECURITY_FIXES.md) - Update CLAUDE.md with security features, test suite, audit logs - Merge Techstack_Dokumentation into INFRASTRUCTURE.md - Update SECURITY.md with custom login route documentation - Add changelog to TODO.md - Update email service and data masking for SMTP error handling - Extend test coverage for CSRF and data masking 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
939 B
TypeScript
37 lines
939 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import react from '@vitejs/plugin-react'
|
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
|
|
export default defineConfig({
|
|
plugins: [tsconfigPaths(), react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
setupFiles: ['./vitest.setup.ts'],
|
|
include: [
|
|
'tests/int/**/*.int.spec.ts',
|
|
'tests/unit/**/*.unit.spec.ts',
|
|
],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'text-summary', 'html', 'lcov'],
|
|
reportsDirectory: './coverage',
|
|
include: [
|
|
'src/lib/**/*.ts',
|
|
'src/hooks/**/*.ts',
|
|
'src/app/**/api/**/route.ts',
|
|
],
|
|
exclude: [
|
|
'src/**/*.d.ts',
|
|
'src/**/payload-types.ts',
|
|
'node_modules/**',
|
|
],
|
|
// Initial thresholds - increase as test coverage improves
|
|
thresholds: {
|
|
lines: 35,
|
|
functions: 50,
|
|
branches: 65,
|
|
statements: 35,
|
|
},
|
|
},
|
|
},
|
|
})
|