UNPKG

@pact-foundation/pact

Version:
20 lines 648 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InteractionWithPluginResponse = void 0; const _1 = require("."); class InteractionWithPluginResponse { pact; opts; cleanupFn; // tslint:disable:no-empty-function constructor(pact, opts, cleanupFn) { this.pact = pact; this.opts = opts; this.cleanupFn = cleanupFn; } async executeTest(testFn) { return (0, _1.executeTest)(this.pact, this.opts, testFn, this.cleanupFn); } } exports.InteractionWithPluginResponse = InteractionWithPluginResponse; //# sourceMappingURL=interactionWithPluginResponse.js.map