mocha-multiple-sessions-detailed-runner
Version:
High-level API for multi-session Mocha tests with detailed reporting
18 lines • 933 B
TypeScript
import type { IReportRepository, ReportMetadata } from '../../interfaces/repositories/report-repository';
export declare class ReportRepository implements IReportRepository {
private readonly PREFIX;
generateResultKey(sessionLabel: string): string;
getReportData(resultKey: string): any | null;
hasReport(resultKey: string): boolean;
clearReport(resultKey: string): void;
getAllReports(): Record<string, any>;
getReportMetadata(resultKey: string): ReportMetadata | null;
waitForReport(resultKey: string, timeoutMs?: number): Promise<any>;
watchReport(resultKey: string, callback: (report: any) => void): () => void;
getWindowVariable(key: string): any;
setWindowVariable(key: string, value: any): void;
deleteWindowVariable(key: string): void;
getReportSize(resultKey: string): number;
validateReport(reportData: any): boolean;
}
//# sourceMappingURL=report-repository.d.ts.map