hensei-web/src/lib/api/adapters/__tests__/env-mock.ts
Justin Edmund 51c30edc50 feat: implement base adapter with retry logic and caching
- Add BaseAdapter class with request/response transformation
- Implement comprehensive error handling and normalization
- Add retry logic with exponential backoff for network/server errors
- Support request cancellation and deduplication
- Include response caching with configurable TTL
- Add full test coverage for adapter functionality
2025-09-19 23:03:36 -07:00

6 lines
No EOL
161 B
TypeScript

/**
* Mock for SvelteKit's $env module
* Used in tests to provide environment variables
*/
export const PUBLIC_SIERO_API_URL = 'http://localhost:3000/api/v1'