/** * HTTP Testing Utilities * * This module provides utilities for HTTP client mocking, integration testing, * and network simulation. These utilities help test applications that make * HTTP requests without requiring actual network connectivity. * * Design philosophy: * - Network-free testing for reliable, fast tests * - Configurable mock behavior for different scenarios * - Integration testing support without external dependencies * - Offline mode simulation for robust testing * * Why HTTP utilities are grouped together: * 1. All utilities deal with HTTP/network interactions * 2. They share common patterns for request/response mocking * 3. Often used together in integration testing scenarios * 4. Provide complementary functionality for comprehensive HTTP testing * * Module organization rationale: * These utilities are grouped because they all serve the purpose of * testing HTTP-dependent code without actual network calls, providing * different levels of abstraction and configuration options. */ import * as mockAxios from '../utils/mockAxios.js'; import * as httpTest from '../utils/httpTest.js'; import * as offlineMode from '../utils/offlineMode.js'; /** * Export HTTP testing utilities * * These utilities are exported together because they provide * complementary functionality for HTTP testing: * * - mockAxios: For mocking HTTP client behavior * - httpTest: For integration testing of HTTP endpoints * - offlineMode: For simulating offline conditions * * Export strategy: * - Named exports for ES module compatibility * - Descriptive property names that indicate purpose * - Grouped by functionality for developer convenience */ export { mockAxios, httpTest, offlineMode }; //# sourceMappingURL=httpUtils.d.ts.map