/** * Integration Test Configuration * * This file defines the configuration for integration tests that run against * real DebuggAI backend services using personal credentials. * * Automatically loads environment variables from .env file in project root. * * Required Environment Variables (set in .env file or environment): * - DEBUGGAI_API_KEY: Your personal API key * - DEBUGGAI_BASE_URL: Custom base URL for API endpoint (optional, defaults to production) * - NGROK_AUTH_TOKEN: Your personal ngrok auth token * * Optional Environment Variables: * - INTEGRATION_TIMEOUT: Test timeout in milliseconds (default: 120000) * - INTEGRATION_SKIP_TUNNEL: Skip tunnel tests (default: false) * - INTEGRATION_SKIP_WORKFLOW: Skip workflow tests (default: false) * - INTEGRATION_TEST_REPO: Path to test repository (default: current directory) * * CI Environment Behavior: * - RUN_INTEGRATION_TESTS: Set to 'true' to enable integration tests in CI (default: false) * - RUN_BACKEND_TESTS: Set to 'true' to enable backend-dependent tests in CI (default: false) * - Tests are automatically skipped in CI environments unless explicitly enabled * * @jest-environment node * @fileoverview Configuration utilities for integration tests - not a test file */ import './setup'; export interface IntegrationTestConfig { apiKey: string; baseUrl: string; ngrokAuthToken: string; timeout: number; skipTunnelTests: boolean; skipWorkflowTests: boolean; testRepoPath: string; testPort: number; verbose: boolean; } export declare function getIntegrationConfig(): IntegrationTestConfig; export declare function shouldRunIntegrationTests(): boolean; /** * Detect if running in CI environment */ export declare function isCI(): boolean; /** * Check if backend-dependent tests should run */ export declare function shouldRunBackendTests(): boolean; /** * Describe block for backend-dependent tests * Skips tests in CI unless explicitly enabled */ export declare function describeBackend(name: string, fn: () => void): void; /** * Test block for backend-dependent tests * Skips tests in CI unless explicitly enabled */ export declare function itBackend(name: string, fn?: jest.ProvidesCallback, timeout?: number): void; export declare function describeIntegration(name: string, fn: () => void): void; export declare function itIntegration(name: string, fn: () => Promise, timeout?: number): void; //# sourceMappingURL=integration-config.d.ts.map