UNPKG

browser-debugger-cli

Version:

DevTools telemetry in your terminal. For humans and agents. Direct WebSocket to Chrome's debugging port.

21 lines 855 B
import type { CDPTarget } from '../types'; /** * Create a mock CDPTarget with default values and optional overrides. * * Provides consistent test data across connection module tests while allowing * customization for specific test scenarios. * * @param overrides - Partial CDPTarget properties to override defaults * @returns Complete CDPTarget object for testing */ export declare const createMockTarget: (overrides?: Partial<CDPTarget>) => CDPTarget; /** * Standard list of mock targets for testing target discovery and matching. * * Includes common test scenarios: * - Different URLs on same host (localhost:3000, localhost:3000/about) * - Different hosts (example.com) * - Different target types (page, background_page, service_worker) */ export declare const mockTargetList: CDPTarget[]; //# sourceMappingURL=connectionTargets.d.ts.map