UNPKG

toofast

Version:

The Node.js performance testing tool with unit-test-like API.

6 lines (5 loc) 322 B
import { HookCallback } from './index.js'; export declare function noop(): void; export declare function getErrorMessage(error: any): string; export declare function sleep(ms: number): Promise<void>; export declare function combineHooks(a: HookCallback | undefined, b: HookCallback | undefined): HookCallback | undefined;