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

6 lines (5 loc) 383 B
import { Container } from "dockerode"; import { ContainerRuntimeClient } from "../container-runtime"; import { BoundPorts } from "../utils/bound-ports"; import { WaitStrategy } from "./wait-strategy"; export declare const waitForContainer: (client: ContainerRuntimeClient, container: Container, waitStrategy: WaitStrategy, boundPorts: BoundPorts, startTime?: Date) => Promise<void>;