import { TapTools } from './tapbundle.classes.taptools.js'; import { HrtMeasurement } from '@push.rocks/smarttime'; export type TTestStatus = 'success' | 'error' | 'pending' | 'errorAfterSuccess' | 'timeout' | 'skipped'; export interface ITestFunction { (tapTools?: TapTools): Promise; } export declare class TapTest { description: string; failureAllowed: boolean; hrtMeasurement: HrtMeasurement; parallel: boolean; status: TTestStatus; tapTools: TapTools; testFunction: ITestFunction; testKey: number; timeoutMs?: number; isTodo: boolean; todoReason?: string; tags: string[]; priority: 'high' | 'medium' | 'low'; fileName?: string; private testDeferred; testPromise: Promise>; private testResultDeferred; testResultPromise: Promise; /** * constructor */ constructor(optionsArg: { description: string; testFunction: ITestFunction; parallel: boolean; }); /** * run the test */ run(testKeyArg: number): Promise; }