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) • 431 B
TypeScript
import { ReadinessCheck, Runner } from '../@types';
type Config = {
POSTGRES_DB: string;
POSTGRES_USER: string;
POSTGRES_PASSWORD?: string;
};
type MaybePromise<T> = T | Promise<T>;
type ConfigMapper = Config | ((dockerComposeFileService: Runner) => MaybePromise<Config>);
export declare const createPostgresReadinessCheck: (args?: {
config?: ConfigMapper;
retryCount?: number;
}) => ReadinessCheck;
export {};