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) 365 B
import { StoppedTestContainer } from "../test-container"; export declare class AbstractStoppedContainer implements StoppedTestContainer { protected readonly stoppedTestContainer: StoppedTestContainer; constructor(stoppedTestContainer: StoppedTestContainer); getId(): string; copyArchiveFromContainer(path: string): Promise<NodeJS.ReadableStream>; }