DiUS / pact-consumer-js-dsl

*DEPRECATED* A Javascript DSL for creating pacts, superceded by Pact JS
https://github.com/pact-foundation/pact-js
Other
56 stars 26 forks source link

Remove error if status is not defined #24

Open bethesque opened 9 years ago

bethesque commented 9 years ago
    if (!this.response.status) {
      throw 'pact-consumer-js-dsl\'s "willRespondWith" function requires "status" parameter';
    }