ethers.js/packages/providers/lib/tests/utils.d.ts

23 lines
735 B
TypeScript
Raw Permalink Normal View History

2022-04-11 17:14:19 -04:00
export declare function loadTests<T>(tag: string): Array<T>;
2022-04-21 01:45:32 -04:00
export declare function log(context: any, text: string): void;
2022-04-11 17:14:19 -04:00
export interface MochaRunnable {
timeout: (value: number) => void;
skip: () => void;
}
export declare function retryIt(name: string, func: (this: MochaRunnable) => Promise<void>): Promise<void>;
export interface StatSet {
name: string;
retries: Array<{
message: string;
error: null | Error;
}>;
}
export declare class Stats {
#private;
constructor(guard: any);
pushRetry(attempt: number, line: string, error: null | Error): void;
start(name: string): void;
2022-04-21 01:45:32 -04:00
end(context?: any): void;
2022-04-11 17:14:19 -04:00
}
export declare const stats: Stats;
//# sourceMappingURL=utils.d.ts.map