UNPKG

@tresdoce-nestjs-toolkit/test-utils

Version:
19 lines (18 loc) 551 B
import { StartedDockerComposeEnvironment } from 'testcontainers'; import { PortWithOptionalBinding } from 'testcontainers/build/utils/port'; declare global { var __TESTCONTAINERS__: StartedDockerComposeEnvironment | undefined; } export declare type Env = { [key in string]: any; }; export interface ITestContainerOptions { ports?: PortWithOptionalBinding[]; envs?: Env; networkName?: string; containerName?: string; startupTimeout?: number; command?: string[]; strategyHealthCheck?: boolean; reuse?: boolean; }