{"action":"created","issue":{"url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/17","labels_url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/17/comments","events_url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/17/events","html_url":"https://github.com/DiUS/pact-consumer-js-dsl/pull/17","id":53081220,"number":17,"title":"Allow the consumer DSL to be used from code running in a node context (rather than browser)","user":{"login":"redbeard","id":40684,"avatar_url":"https://avatars.githubusercontent.com/u/40684?v=3","gravatar_id":"","url":"https://api.github.com/users/redbeard","html_url":"https://github.com/redbeard","followers_url":"https://api.github.com/users/redbeard/followers","following_url":"https://api.github.com/users/redbeard/following{/other_user}","gists_url":"https://api.github.com/users/redbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/redbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbeard/subscriptions","organizations_url":"https://api.github.com/users/redbeard/orgs","repos_url":"https://api.github.com/users/redbeard/repos","events_url":"https://api.github.com/users/redbeard/events{/privacy}","received_events_url":"https://api.github.com/users/redbeard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-29T23:34:42Z","updated_at":"2015-01-08T23:29:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/pulls/17","html_url":"https://github.com/DiUS/pact-consumer-js-dsl/pull/17","diff_url":"https://github.com/DiUS/pact-consumer-js-dsl/pull/17.diff","patch_url":"https://github.com/DiUS/pact-consumer-js-dsl/pull/17.patch"},"body":"This required a couple of changes:\r\n- Fixed incorrect package.json 'main' property.\r\n- Added module export.\r\n- Added lazy dependency on xmlhttprequest module (allows access to XHR object from node code)"},"comment":{"url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/comments/69269582","html_url":"https://github.com/DiUS/pact-consumer-js-dsl/pull/17#issuecomment-69269582","issue_url":"https://api.github.com/repos/DiUS/pact-consumer-js-dsl/issues/17","id":69269582,"user":{"login":"bethesque","id":446228,"avatar_url":"https://avatars.githubusercontent.com/u/446228?v=3","gravatar_id":"","url":"https://api.github.com/users/bethesque","html_url":"https://github.com/bethesque","followers_url":"https://api.github.com/users/bethesque/followers","following_url":"https://api.github.com/users/bethesque/following{/other_user}","gists_url":"https://api.github.com/users/bethesque/gists{/gist_id}","starred_url":"https://api.github.com/users/bethesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethesque/subscriptions","organizations_url":"https://api.github.com/users/bethesque/orgs","repos_url":"https://api.github.com/users/bethesque/repos","events_url":"https://api.github.com/users/bethesque/events{/privacy}","received_events_url":"https://api.github.com/users/bethesque/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T23:29:58Z","updated_at":"2015-01-08T23:29:58Z","body":"Hey Ben, if the mock service doesn't start up because you're a numpty and you've forgotten to bundle install before you run the tests, the run-tests just finishes with a success status code. Do you know if there's a way to fail the tests if waitForServerToStart fails?"}}