Initial Upload
Some checks failed
CI / Lint & Typecheck (push) Has been cancelled
CI / Test (routes) (push) Has been cancelled
CI / Test (security) (push) Has been cancelled
CI / Test (services) (push) Has been cancelled
CI / Test (unit) (push) Has been cancelled
CI / Test (integration) (push) Has been cancelled
CI / Test Coverage (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2025-12-17 12:32:50 +13:00
commit 3015f48118
471 changed files with 141143 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/**
* Security Tests Configuration
*
* Authentication and authorization tests:
* - Token validation and bypass attempts
* - Privilege escalation prevention
* - Injection attack prevention
* - Role-based access control
*
* These tests verify security behavior, not implementation coverage.
* No coverage thresholds - security tests are pass/fail.
*
* Run: pnpm test:security
*/
import { defineConfig, mergeConfig } from 'vitest/config';
import { sharedConfig } from './vitest.shared.js';
export default mergeConfig(
sharedConfig,
defineConfig({
test: {
name: 'security',
include: ['src/**/*.security.test.ts'],
// No coverage for security tests - they test behavior, not implementation
},
})
);