UNPKG

pactum-flow-plugin

Version:

plugin to publish flows, interactions and run contract tests locally

20 lines (16 loc) 306 B
const store = require('./store'); const { run } = require('./runner'); function afterSpec(spec) { store.addSpec(spec); } function afterInteraction(interaction) { store.addInteraction(interaction); } async function end() { await run(); } module.exports = { afterSpec, afterInteraction, end }