dockest
Version:
Dockest is an integration testing tool aimed at alleviating the process of evaluating unit tests whilst running multi-container Docker applications.
7 lines (6 loc) • 341 B
TypeScript
export declare const getHostAddress: () => "host.dockest-runner.internal" | "host.docker.internal";
export declare const resolveServiceAddress: (serviceName: string, targetPort: number | string) => {
host: string;
port: number;
};
export declare const getServiceAddress: (serviceName: string, targetPort: number | string) => string;