How to use mountebank - 1 common examples

To help you get started, we’ve selected a few mountebank 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 zalando / zappr / test / MountebankClient.js View on Github external
start() {
    log('starting mb server...')
    return mountebank.create(this.options).then(server => {
      log(`mb listening on port ${this.options.port}`)
      this.shutdown = () => new Promise(resolve =>
        server.close(resolve)
      )
      return this
    })
  }

mountebank

Over the wire test doubles

MIT
Latest version published 9 months ago

Package Health Score

71 / 100
Full package analysis

Popular mountebank functions