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

10 lines (9 loc) 383 B
/// <reference types="node" /> import Dockerode from "dockerode"; import { StoppedTestContainer } from "../test-container"; export declare class StoppedGenericContainer implements StoppedTestContainer { private readonly container; constructor(container: Dockerode.Container); getId(): string; copyArchiveFromContainer(path: string): Promise<NodeJS.ReadableStream>; }