UNPKG

dockest

Version:

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

13 lines (12 loc) 514 B
/// <reference types="node" /> import { DockerComposeFile, DockestConfig } from '../../@types'; /** * `docker-compose config` trims the `version` property, so we need to inject it before outputting the generated compose file */ export declare function getComposeFilesWithVersion(composeFile: DockestConfig['composeFile'], dockerComposeFile: Omit<DockerComposeFile, 'version'> & { version?: string; }, /** @testable */ nodeProcess?: NodeJS.Process): { dockerComposeFileWithVersion: DockerComposeFile; };