{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2","id":80218352,"html_url":"https://github.com/Angular-cz/karma-json-result-reporter/pull/2","diff_url":"https://github.com/Angular-cz/karma-json-result-reporter/pull/2.diff","patch_url":"https://github.com/Angular-cz/karma-json-result-reporter/pull/2.patch","issue_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/2","number":2,"state":"open","locked":false,"title":"1. use helper & logger provided by karma  2. write results synchronously","user":{"login":"Rickyuu","id":2271192,"avatar_url":"https://avatars.githubusercontent.com/u/2271192?v=3","gravatar_id":"","url":"https://api.github.com/users/Rickyuu","html_url":"https://github.com/Rickyuu","followers_url":"https://api.github.com/users/Rickyuu/followers","following_url":"https://api.github.com/users/Rickyuu/following{/other_user}","gists_url":"https://api.github.com/users/Rickyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Rickyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rickyuu/subscriptions","organizations_url":"https://api.github.com/users/Rickyuu/orgs","repos_url":"https://api.github.com/users/Rickyuu/repos","events_url":"https://api.github.com/users/Rickyuu/events{/privacy}","received_events_url":"https://api.github.com/users/Rickyuu/received_events","type":"User","site_admin":false},"body":"There may be some cases that we want to deal with the generated test results file in gulp task. If the result file is written asynchronously, we may meet with some errors because the file is not ready yet. Just learn this idea from karma-coverage project.\r\n\r\nAnother change is: I have used the helper provided by karma instead of using write file module.","created_at":"2016-08-05T09:58:19Z","updated_at":"2016-08-05T09:58:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/2/comments","statuses_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/statuses/a0e843649bc7e5bd1174e2ce5ce16bb029f7c858","head":{"label":"Rickyuu:write-results-synchronously","ref":"write-results-synchronously","sha":"a0e843649bc7e5bd1174e2ce5ce16bb029f7c858","user":{"login":"Rickyuu","id":2271192,"avatar_url":"https://avatars.githubusercontent.com/u/2271192?v=3","gravatar_id":"","url":"https://api.github.com/users/Rickyuu","html_url":"https://github.com/Rickyuu","followers_url":"https://api.github.com/users/Rickyuu/followers","following_url":"https://api.github.com/users/Rickyuu/following{/other_user}","gists_url":"https://api.github.com/users/Rickyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Rickyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rickyuu/subscriptions","organizations_url":"https://api.github.com/users/Rickyuu/orgs","repos_url":"https://api.github.com/users/Rickyuu/repos","events_url":"https://api.github.com/users/Rickyuu/events{/privacy}","received_events_url":"https://api.github.com/users/Rickyuu/received_events","type":"User","site_admin":false},"repo":{"id":65003224,"name":"karma-json-result-reporter","full_name":"Rickyuu/karma-json-result-reporter","owner":{"login":"Rickyuu","id":2271192,"avatar_url":"https://avatars.githubusercontent.com/u/2271192?v=3","gravatar_id":"","url":"https://api.github.com/users/Rickyuu","html_url":"https://github.com/Rickyuu","followers_url":"https://api.github.com/users/Rickyuu/followers","following_url":"https://api.github.com/users/Rickyuu/following{/other_user}","gists_url":"https://api.github.com/users/Rickyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/Rickyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rickyuu/subscriptions","organizations_url":"https://api.github.com/users/Rickyuu/orgs","repos_url":"https://api.github.com/users/Rickyuu/repos","events_url":"https://api.github.com/users/Rickyuu/events{/privacy}","received_events_url":"https://api.github.com/users/Rickyuu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rickyuu/karma-json-result-reporter","description":"test results as json file","fork":true,"url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter","forks_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/forks","keys_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/teams","hooks_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/hooks","issue_events_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/issues/events{/number}","events_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/events","assignees_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/assignees{/user}","branches_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/branches{/branch}","tags_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/tags","blobs_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/statuses/{sha}","languages_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/languages","stargazers_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/stargazers","contributors_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/contributors","subscribers_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/subscribers","subscription_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/subscription","commits_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/contents/{+path}","compare_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/merges","archive_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/downloads","issues_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/issues{/number}","pulls_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/pulls{/number}","milestones_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/milestones{/number}","notifications_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/labels{/name}","releases_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/releases{/id}","deployments_url":"https://api.github.com/repos/Rickyuu/karma-json-result-reporter/deployments","created_at":"2016-08-05T08:40:20Z","updated_at":"2016-08-05T08:40:21Z","pushed_at":"2016-08-05T09:47:19Z","git_url":"git://github.com/Rickyuu/karma-json-result-reporter.git","ssh_url":"git@github.com:Rickyuu/karma-json-result-reporter.git","clone_url":"https://github.com/Rickyuu/karma-json-result-reporter.git","svn_url":"https://github.com/Rickyuu/karma-json-result-reporter","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Angular-cz:master","ref":"master","sha":"cf9de0f52f68bc0c07734853d9251e0fd45f939a","user":{"login":"Angular-cz","id":9637196,"avatar_url":"https://avatars.githubusercontent.com/u/9637196?v=3","gravatar_id":"","url":"https://api.github.com/users/Angular-cz","html_url":"https://github.com/Angular-cz","followers_url":"https://api.github.com/users/Angular-cz/followers","following_url":"https://api.github.com/users/Angular-cz/following{/other_user}","gists_url":"https://api.github.com/users/Angular-cz/gists{/gist_id}","starred_url":"https://api.github.com/users/Angular-cz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Angular-cz/subscriptions","organizations_url":"https://api.github.com/users/Angular-cz/orgs","repos_url":"https://api.github.com/users/Angular-cz/repos","events_url":"https://api.github.com/users/Angular-cz/events{/privacy}","received_events_url":"https://api.github.com/users/Angular-cz/received_events","type":"Organization","site_admin":false},"repo":{"id":51667575,"name":"karma-json-result-reporter","full_name":"Angular-cz/karma-json-result-reporter","owner":{"login":"Angular-cz","id":9637196,"avatar_url":"https://avatars.githubusercontent.com/u/9637196?v=3","gravatar_id":"","url":"https://api.github.com/users/Angular-cz","html_url":"https://github.com/Angular-cz","followers_url":"https://api.github.com/users/Angular-cz/followers","following_url":"https://api.github.com/users/Angular-cz/following{/other_user}","gists_url":"https://api.github.com/users/Angular-cz/gists{/gist_id}","starred_url":"https://api.github.com/users/Angular-cz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Angular-cz/subscriptions","organizations_url":"https://api.github.com/users/Angular-cz/orgs","repos_url":"https://api.github.com/users/Angular-cz/repos","events_url":"https://api.github.com/users/Angular-cz/events{/privacy}","received_events_url":"https://api.github.com/users/Angular-cz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Angular-cz/karma-json-result-reporter","description":"test results as json file","fork":false,"url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter","forks_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/forks","keys_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/teams","hooks_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/hooks","issue_events_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/events{/number}","events_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/events","assignees_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/assignees{/user}","branches_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/branches{/branch}","tags_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/tags","blobs_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/statuses/{sha}","languages_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/languages","stargazers_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/stargazers","contributors_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/contributors","subscribers_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/subscribers","subscription_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/subscription","commits_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/contents/{+path}","compare_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/merges","archive_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/downloads","issues_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues{/number}","pulls_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls{/number}","milestones_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/milestones{/number}","notifications_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/labels{/name}","releases_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/releases{/id}","deployments_url":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/deployments","created_at":"2016-02-13T21:54:41Z","updated_at":"2016-08-02T17:59:06Z","pushed_at":"2016-08-05T09:58:19Z","git_url":"git://github.com/Angular-cz/karma-json-result-reporter.git","ssh_url":"git@github.com:Angular-cz/karma-json-result-reporter.git","clone_url":"https://github.com/Angular-cz/karma-json-result-reporter.git","svn_url":"https://github.com/Angular-cz/karma-json-result-reporter","homepage":null,"size":12,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2"},"html":{"href":"https://github.com/Angular-cz/karma-json-result-reporter/pull/2"},"issue":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/2"},"comments":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Angular-cz/karma-json-result-reporter/statuses/a0e843649bc7e5bd1174e2ce5ce16bb029f7c858"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"Rickyuu"}}