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
9 lines (8 loc) • 352 B
TypeScript
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>;
}