UNPKG

dockest

Version:

Dockest is an integration testing tool aimed at alleviating the process of evaluating unit tests whilst running multi-container Docker applications.

14 lines (13 loc) 669 B
import { Runner } from '../../@types'; export type AcquireConnectionFunctionType = ({ host, port }: { host: string; port: number; }) => Promise<void>; export declare const createCheckConnection: ({ acquireConnection }: { acquireConnection: AcquireConnectionFunctionType; }) => ({ runner, runner: { dockerComposeFileService: { ports }, host: runnerHost, isBridgeNetworkMode, dockerEventStream$, }, }: { runner: Runner; }) => Promise<undefined>; export declare const checkConnection: ({ runner, runner: { dockerComposeFileService: { ports }, host: runnerHost, isBridgeNetworkMode, dockerEventStream$, }, }: { runner: Runner; }) => Promise<undefined>;