/** * SMI-2754: API Client Health Check Tests * * Tests for checkApiHealth function covering all 8 branches: * 1. offlineMode: true → synthetic healthy, no fetch * 2. fetch succeeds, JSON has version * 3. fetch succeeds, JSON missing version → defaults to '1.0.0' * 4. fetch succeeds but response.json() throws → inner catch * 5. response.ok = false, status >= 500 → 'unhealthy' * 6. response.ok = false, status < 500 (e.g. 429) → 'degraded' * 7. fetch throws (network error) → outer catch → 'unhealthy' * 8. AbortController timeout fires → 'unhealthy' */ export {}; //# sourceMappingURL=client.health.test.d.ts.map