{"action":"created","issue":{"url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/3","labels_url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/3/comments","events_url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/3/events","html_url":"https://github.com/NullRefExcep/gulp-casperjs/issues/3","id":54586560,"number":3,"title":"casperChild.on('close') code is always 0","user":{"login":"christianhaller","id":138188,"avatar_url":"https://avatars.githubusercontent.com/u/138188?v=3","gravatar_id":"","url":"https://api.github.com/users/christianhaller","html_url":"https://github.com/christianhaller","followers_url":"https://api.github.com/users/christianhaller/followers","following_url":"https://api.github.com/users/christianhaller/following{/other_user}","gists_url":"https://api.github.com/users/christianhaller/gists{/gist_id}","starred_url":"https://api.github.com/users/christianhaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianhaller/subscriptions","organizations_url":"https://api.github.com/users/christianhaller/orgs","repos_url":"https://api.github.com/users/christianhaller/repos","events_url":"https://api.github.com/users/christianhaller/events{/privacy}","received_events_url":"https://api.github.com/users/christianhaller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ZAYEC77","id":4509483,"avatar_url":"https://avatars.githubusercontent.com/u/4509483?v=3","gravatar_id":"","url":"https://api.github.com/users/ZAYEC77","html_url":"https://github.com/ZAYEC77","followers_url":"https://api.github.com/users/ZAYEC77/followers","following_url":"https://api.github.com/users/ZAYEC77/following{/other_user}","gists_url":"https://api.github.com/users/ZAYEC77/gists{/gist_id}","starred_url":"https://api.github.com/users/ZAYEC77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZAYEC77/subscriptions","organizations_url":"https://api.github.com/users/ZAYEC77/orgs","repos_url":"https://api.github.com/users/ZAYEC77/repos","events_url":"https://api.github.com/users/ZAYEC77/events{/privacy}","received_events_url":"https://api.github.com/users/ZAYEC77/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-01-16T15:21:12Z","updated_at":"2015-01-21T08:46:34Z","closed_at":"2015-01-21T08:46:34Z","body":"Hi,\r\nif I have a failing test, but the variable `code` is still 0.\r\n```\r\n[16:15:09] gulp-casper-js: FAIL GA Event request found\r\n```\r\nThe error event\r\n```\r\nthis.emit('error')\r\n```\r\nis not thrown.\r\n\r\nThis seems wrong."},"comment":{"url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/comments/70802641","html_url":"https://github.com/NullRefExcep/gulp-casperjs/issues/3#issuecomment-70802641","issue_url":"https://api.github.com/repos/NullRefExcep/gulp-casperjs/issues/3","id":70802641,"user":{"login":"christianhaller","id":138188,"avatar_url":"https://avatars.githubusercontent.com/u/138188?v=3","gravatar_id":"","url":"https://api.github.com/users/christianhaller","html_url":"https://github.com/christianhaller","followers_url":"https://api.github.com/users/christianhaller/followers","following_url":"https://api.github.com/users/christianhaller/following{/other_user}","gists_url":"https://api.github.com/users/christianhaller/gists{/gist_id}","starred_url":"https://api.github.com/users/christianhaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianhaller/subscriptions","organizations_url":"https://api.github.com/users/christianhaller/orgs","repos_url":"https://api.github.com/users/christianhaller/repos","events_url":"https://api.github.com/users/christianhaller/events{/privacy}","received_events_url":"https://api.github.com/users/christianhaller/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T08:46:34Z","updated_at":"2015-01-21T08:46:34Z","body":"I had casper.exit() in my tests. :-(\r\nNow everything is fine. Even failures."}}