Run a local PostgreSQL instance for tests with Docker Compose:
pnpm db:test:up
pnpm db:test:pushThe test database connection string is defined in .env.test:
DATABASE_URL=postgres://kosmo:kosmo@localhost:54329/kosmo_testUse pnpm db:test:reset to recreate the container and volume, and pnpm db:test:down to stop it.