init project

This commit is contained in:
root
2026-06-25 19:06:59 -04:00
parent c5dfee6efb
commit 5d017f533a
349 changed files with 31330 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
},
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./tests/setup.ts'],
include: ['tests/unit/**/*.test.{ts,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'json-summary'],
thresholds: {
lines: 85,
functions: 85,
branches: 80,
statements: 85,
},
include: [
'src/lib/localization/config.ts',
'src/lib/security/csp.ts',
'src/lib/theme/config.ts',
],
},
},
});