UNPKG

html-reporter

Version:

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

11 lines (10 loc) 776 B
import { DbLoadResult, HandleDatabasesOptions } from './common'; import { Tree } from '../tests-tree-builder/base'; import { ReporterTestResult } from '../adapters/test-result'; import { SqliteClient } from '../sqlite-client'; export * from './common'; export declare const prepareUrls: (urls: string[], baseUrl: string) => string[]; export declare function downloadDatabases(dbJsonUrls: string[], opts: HandleDatabasesOptions): Promise<(string | DbLoadResult)[]>; export declare function mergeDatabases(srcDbPaths: string[], reportPath: string): Promise<void>; export declare function getTestsTreeFromDatabase(dbPath: string, baseHost: string): Tree; export declare const getTestFromDb: <T = unknown>(dbClient: SqliteClient, testResult: ReporterTestResult) => T | undefined;