tapbundle/dist/tapbundle.classes.taptools.d.ts

23 lines
615 B
TypeScript
Raw Normal View History

2017-10-10 15:14:14 +00:00
export interface IPromiseFunc {
(): Promise<any>;
}
2017-04-28 07:49:57 +00:00
export declare class TapTools {
/**
* the referenced TapTest
*/
private _tapTest;
constructor(TapTestArg: any);
/**
* allow failure
*/
allowFailure(): void;
/**
* async/await delay method
*/
delayFor(timeMilliArg: any): Promise<void>;
2017-10-10 15:14:14 +00:00
delayForRandom(timeMilliMinArg: any, timeMilliMaxArg: any): Promise<void>;
2017-04-28 07:49:57 +00:00
timeout(timeMilliArg: number): Promise<void>;
2017-10-10 15:14:14 +00:00
checkIterationLeak(iterationfuncArg: IPromiseFunc): Promise<void>;
returnError(throwingFuncArg: IPromiseFunc): Promise<Error>;
2017-04-28 07:49:57 +00:00
}