dockest
Version:
Dockest is an integration testing tool aimed at alleviating the process of evaluating unit tests whilst running multi-container Docker applications.
16 lines (15 loc) • 531 B
TypeScript
import { DockestConfig } from '../../@types';
export interface ErrorPayload {
trap: string;
code?: number;
error?: Error;
promise?: Promise<any>;
reason?: Error | any;
signal?: any;
}
export declare const setupExitHandler: ({ dumpErrors, exitHandler: customExitHandler, mutables, mutables: { runners }, perfStart, }: {
dumpErrors: DockestConfig['dumpErrors'];
exitHandler: DockestConfig['exitHandler'];
mutables: DockestConfig['mutables'];
perfStart: DockestConfig['perfStart'];
}) => void;