UNPKG

testcontainers

Version:

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container

25 lines (24 loc) 625 B
import { Logger } from "../../../common"; export type ComposeOptions = { filePath: string; files: string | string[]; projectName: string; commandOptions?: string[]; composeOptions?: string[]; environment?: NodeJS.ProcessEnv; logger?: Logger; executable?: ComposeExecutableOptions; }; export type ComposeExecutableOptions = { executablePath: string; options?: string[] | (string | string[])[]; standalone?: never; } | { executablePath?: string; options?: never; standalone: true; }; export type ComposeDownOptions = { timeout: number; removeVolumes: boolean; };