UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

14 lines (13 loc) 508 B
import { ReporterTestResult } from './adapters/test-result'; import { TestStatus } from './constants'; type TestSpec = Pick<ReporterTestResult, 'fullName' | 'browserId'>; export declare class TestAttemptManager { private _attempts; constructor(); removeAttempt(testResult: TestSpec): number; getCurrentAttempt(testResult: TestSpec): number; registerAttempt(testResult: TestSpec, status: TestStatus, index?: number | null): number; private _getHash; private _getData; } export {};