UNPKG

html-reporter

Version:

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

13 lines (12 loc) 558 B
import { ReporterTestResult } from './adapters/test-result'; export type { ReporterTestResult }; export type ReportFileToDownload = 'dbFiles'; export interface DownloadReportOptions { files?: ReportFileToDownload[]; } export interface DownloadReportResult { reportPath: string; dbPaths: string[]; } export declare const downloadReport: (reportPathOrUrl: string, destPath: string, options?: DownloadReportOptions) => Promise<DownloadReportResult>; export declare const readResultsFromReport: (reportPath: string) => Promise<ReporterTestResult[]>;