mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
49 integration tests covering: - improve-prompt: happy paths (system+prompt, only system, only prompt), auth enforcement, upstream error sanitization, malformed body, missing fields - presets CRUD: full lifecycle (POST→GET list→GET id→PUT partial→DELETE→404), params JSON round-trip, UUID validation, null system handling - presets Zod: all invalid bodies → 400, system > 50000 chars boundary, UUID format validation across GET/PUT/DELETE All error assertions verify no stack trace leakage (Hard Rule #12).