mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-07 04:07:50 +00:00
- Swap hand-rolled Map-based rate limiter for battle-tested express-rate-limit - Built-in MemoryStore handles TTL cleanup automatically (no memory leaks) - Uses sliding window counter algorithm instead of fixed window - Emits both IETF draft-7 (RateLimit-*) and legacy (X-RateLimit-*) headers - Remove duplicate inline rate limiter from settings.ts, use shared strictRateLimit middleware - Redis not warranted for single-instance local dev tool
15 lines
395 B
TypeScript
15 lines
395 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['src/**/*.test.ts'],
|
|
exclude: ['**/node_modules/**', '**/dist/**', '**/.veritas-kanban/**'],
|
|
globals: true,
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.test.ts', 'src/__tests__/**', 'src/scripts/**'],
|
|
all: true,
|
|
},
|
|
},
|
|
});
|