| 1 | // --------------------------------------------------------------------------- |
| 2 | // Vitest globalSetup — starts an in-process PGlite socket server so tests |
| 3 | // running in the Cloudflare Workers runtime can connect to a real Postgres |
| 4 | // via postgres.js. Port must match DATABASE_URL in vitest.config.ts. |