Files
PaperClipAI/server/src/__tests__
nguyenm7andClaude Opus 5.5 4e44f10bd0 Merge master into fix/mcp-live-claimed-origin
Master now fixes the two ubuntu-26.04 test fixtures (#21787, #21792),
so this merge keeps master's versions of those test files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:49:48 -08:00
..
…

Server Tests

Server tests that need a real PostgreSQL process must use ./helpers/embedded-postgres.ts instead of constructing embedded-postgres directly.

The shared helper creates a throwaway data directory and a reserved-safe loopback port for each test database. This protects the live Paperclip control-plane Postgres from server vitest runs; see PAP-2033 for the incident that introduced this guard.