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) • 396 B
TypeScript
/// <reference types="node" />
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>;
}