UNPKG

html-reporter

Version:

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

8 lines (7 loc) 657 B
import { ReporterTestResult } from './adapters/test-result'; import { ImageInfoUpdated } from './types'; type OnReferenceUpdateCb = (testResult: ReporterTestResult, images: ImageInfoUpdated, state: string) => void; export declare const updateReferenceImages: (testResult: ReporterTestResult, reportPath: string, onReferenceUpdateCb: OnReferenceUpdateCb) => Promise<ReporterTestResult>; export declare const revertReferenceImage: (removedResult: ReporterTestResult, newResult: ReporterTestResult, stateName: string) => Promise<void>; export declare const removeReferenceImage: (testResult: ReporterTestResult, stateName: string) => Promise<void>; export {};