UNPKG

@testcontainers/gcloud

Version:
15 lines (14 loc) 670 B
import { AbstractStartedContainer, StartedTestContainer } from "testcontainers"; import { AbstractGcloudEmulator } from "./abstract-gcloud-emulator"; export declare class DatastoreEmulatorContainer extends AbstractGcloudEmulator { constructor(image: string); start(): Promise<StartedDatastoreEmulatorContainer>; } export declare class StartedDatastoreEmulatorContainer extends AbstractStartedContainer { constructor(startedTestContainer: StartedTestContainer); /** * @return a <code>host:port</code> pair corresponding to the address on which the emulator is * reachable from the test host machine. */ getEmulatorEndpoint(): string; }