/** * Integration tests for the log endpoints added in #300. * * These exist because parts of this feature could not be verified from a * development sandbox. `GET /applications/{uuid}/logs` was confirmed against a * live instance to return `{ logs: "..." }` rather than a bare string, but * upstream's OpenAPI types the service sub-resource listings as an untyped * `array of object`, so the real shape of `/services/{uuid}/applications` and * `/services/{uuid}/databases` is unconfirmed — as is whether the * `sub_service_name` values they yield are accepted by `/services/{uuid}/logs`. * * Run these against a real Coolify before trusting the service paths: * npm run test:integration * * Prerequisites: * - COOLIFY_URL and COOLIFY_TOKEN set (from .env) * - TEST_APPLICATION_UUID / TEST_DATABASE_UUID / TEST_SERVICE_UUID set to * resources on that instance. Each block skips if its uuid is absent. */ export {};