@pact-foundation/pact
Version:
Pact for all things Javascript
20 lines • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InteractionWithResponse = void 0;
const _1 = require(".");
class InteractionWithResponse {
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.InteractionWithResponse = InteractionWithResponse;
//# sourceMappingURL=interactionWithResponse.js.map