Files
PaperClipAI/server
Priya RamanandPaperclip 5d9915c38a fix(server): close the native Codex vertical-slice test's db client before teardown
The test created a postgres client with createDb() inside the test body
but never closed it. The embedded Postgres process could then shut down
while the client still had a queued write, so the driver later threw an
unhandled TypeError from a null socket. Close the client in afterAll,
before the embedded database stops, matching the pattern every other
integration test in this file's directory already uses.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-27 04:31:31 +00:00
..