How to use the @pact-foundation/pact-node.removeAllServers function in @pact-foundation/pact-node

To help you get started, we’ve selected a few @pact-foundation/pact-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pact-foundation / pact-js-mocha / test / specHelper.js View on Github external
process.on('SIGINT', function () {
    wrapper.removeAllServers()
  })
})
github pact-foundation / pact-js / test / helper.ts View on Github external
process.on("SIGINT", () => {
  pact.removeAllServers()
})
github alphagov / pay-selfservice / test / test_helpers / pact_proxy.js View on Github external
removeAll: function () {
    return wrapper.removeAllServers()
  }
}
github pact-foundation / pact-js / test / helper.js View on Github external
process.on('SIGINT', function () {
  wrapper.removeAllServers()
})
github pact-foundation / pact-js / src / mocha / index.js View on Github external
.finally(function () {
            mockServer.stop()
            wrapper.removeAllServers()
          })
      })

@pact-foundation/pact-node

Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.

MIT
Latest version published 2 months ago

Package Health Score

81 / 100
Full package analysis