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

8 lines (7 loc) 288 B
import Dockerode from "dockerode"; import { ImageName } from "../image-name"; export type PullImageOptions = { imageName: ImageName; force: boolean; }; export declare const pullImage: (dockerode: Dockerode, indexServerAddress: string, options: PullImageOptions) => Promise<void>;