{"action":"created","issue":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/17","labels_url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/17/comments","events_url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/17/events","html_url":"https://github.com/hoodiehq/hoodie-client-connection-status/pull/17","id":118489619,"number":17,"title":"testing the disconnect/reconnect events","user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T22:39:35Z","updated_at":"2015-11-24T00:22:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/pulls/17","html_url":"https://github.com/hoodiehq/hoodie-client-connection-status/pull/17","diff_url":"https://github.com/hoodiehq/hoodie-client-connection-status/pull/17.diff","patch_url":"https://github.com/hoodiehq/hoodie-client-connection-status/pull/17.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/comments/159112255","html_url":"https://github.com/hoodiehq/hoodie-client-connection-status/pull/17#issuecomment-159112255","issue_url":"https://api.github.com/repos/hoodiehq/hoodie-client-connection-status/issues/17","id":159112255,"user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T00:22:39Z","updated_at":"2015-11-24T00:22:39Z","body":"So yeah, I tried a few things, let’s use `lolex` in unit tests only, not in combination with `nock`. \r\n\r\nFor integration tests, let's set the interval to a low number, and then simply wait for the real timeouts, without faking timers"}}