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

Fix use of XHR status in DSL code #18

Closed redbeard closed 9 years ago

redbeard commented 9 years ago

In the node based XMLHTTPRequest object, xhr.status is a string not an int; Fixing code to account for both browser and node.

bethesque commented 9 years ago

Have added this manually to the code.