UNPKG

dockest

Version:

Dockest is an integration testing tool aimed at alleviating the process of evaluating unit tests whilst running multi-container Docker applications.

13 lines 562 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.leaveBridgeNetwork = void 0; const constants_1 = require("../../constants"); const execa_wrapper_1 = require("../execa-wrapper"); const leaveBridgeNetwork = async ({ containerId }) => { const command = `docker network disconnect \ ${constants_1.BRIDGE_NETWORK_NAME} \ ${containerId}`; (0, execa_wrapper_1.execaWrapper)(command); }; exports.leaveBridgeNetwork = leaveBridgeNetwork; //# sourceMappingURL=leave-bridge-network.js.map