const baseConfig = require('../jest.config.js') module.exports = { ...baseConfig, displayName: 'HTTP Client Module', testMatch: [ '/tests/**/*http-client*.test.ts', '/tests/contract/*http-client*.contract.test.ts', '/tests/contract/*platform-adapter*.contract.test.ts', '/tests/integration/*credential-auth*.integration.test.ts', '/tests/integration/*proxy-routing*.integration.test.ts', '/tests/integration/*pacifica-balance*.integration.test.ts', '/tests/integration/*multi-platform-concurrent*.integration.test.ts', '/tests/performance/*response-time*.performance.test.ts', '/tests/unit/*error-handling*.unit.test.ts', '/tests/unit/*connection-pool*.unit.test.ts' ], setupFilesAfterEnv: [ '/tests/setup.ts', '/tests/http-client-setup.ts' ], testTimeout: 30000, collectCoverageFrom: [ 'src/core/http-client/**/*.ts', 'src/adapters/**/*HttpAdapter.ts', 'src/types/httpClient*.ts', 'src/types/platformAdapter.ts', '!**/*.d.ts', '!**/*.test.ts', '!**/*.spec.ts' ], coverageThreshold: { global: { branches: 80, functions: 80, lines: 80, statements: 80 } }, moduleNameMapping: { '^@/(.*)$': '/src/$1', '^@/core/(.*)$': '/src/core/$1', '^@/types/(.*)$': '/src/types/$1', '^@/utils/(.*)$': '/src/utils/$1', '^@/adapters/(.*)$': '/src/adapters/$1' } }