UNPKG

@iota-big3/sdk-gateway

Version:

Universal API Gateway with protocol translation, intelligent routing, rate limiting, health checking, and caching

45 lines 1.11 kB
export interface SmokeTestResult { name: string; passed: boolean; duration: number; error?: string; details?: Record<string, unknown>; } export interface SmokeTestSuite { name: string; tests: SmokeTest[]; timeout?: number; } export interface SmokeTest { name: string; test: (gateway: string) => Promise<void>; timeout?: number; critical?: boolean; } /** * Critical path smoke tests for production validation */ export declare const criticalPaths: SmokeTest[]; /** * Run all smoke tests */ export declare function runSmokeTests(gatewayUrl: string, options?: { stopOnFailure?: boolean; parallel?: boolean; filter?: (test: SmokeTest) => boolean; }): Promise<SmokeTestResult[]>; /** * Generate smoke test report */ export declare function generateReport(results: SmokeTestResult[]): { summary: { total: number; passed: number; failed: number; duration: number; passRate: number; }; failures: SmokeTestResult[]; slowTests: SmokeTestResult[]; }; //# sourceMappingURL=critical-paths.d.ts.map