{"action":"created","comment":{"url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/comments/232323805","pull_request_review_id":173501816,"id":232323805,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjMyMzgwNQ==","diff_hunk":"@@ -0,0 +1,85 @@\n+'use strict';\n+\n+const mock = require('egg-mock');\n+const sleep = require('mz-modules/sleep');\n+\n+describe('test/app.test.js', () => {\n+  let app;\n+\n+  afterEach(mock.restore);\n+\n+  describe('starting', () => {\n+    before(async () => {\n+      app = mock.app({\n+        baseDir: 'apps/healthapp',\n+      });\n+      // wait for one worker start\n+      await sleep(2000);","path":"test/app.test.js","position":17,"original_position":17,"commit_id":"ecd45eb537b77a62204d4ff2c48ca89c33283861","original_commit_id":"ecd45eb537b77a62204d4ff2c48ca89c33283861","user":{"login":"killagu","id":6897780,"node_id":"MDQ6VXNlcjY4OTc3ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/6897780?v=4","gravatar_id":"","url":"https://api.github.com/users/killagu","html_url":"https://github.com/killagu","followers_url":"https://api.github.com/users/killagu/followers","following_url":"https://api.github.com/users/killagu/following{/other_user}","gists_url":"https://api.github.com/users/killagu/gists{/gist_id}","starred_url":"https://api.github.com/users/killagu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killagu/subscriptions","organizations_url":"https://api.github.com/users/killagu/orgs","repos_url":"https://api.github.com/users/killagu/repos","events_url":"https://api.github.com/users/killagu/events{/privacy}","received_events_url":"https://api.github.com/users/killagu/received_events","type":"User","site_admin":false},"body":"这里表述是不是有点奇怪？`mock.app` 不是只起一个 worker 吗？","created_at":"2018-11-09T17:00:22Z","updated_at":"2018-11-09T17:03:20Z","html_url":"https://github.com/eggjs/egg-healthy/pull/1#discussion_r232323805","pull_request_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/comments/232323805"},"html":{"href":"https://github.com/eggjs/egg-healthy/pull/1#discussion_r232323805"},"pull_request":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1","id":229644443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjQ0NDQz","html_url":"https://github.com/eggjs/egg-healthy/pull/1","diff_url":"https://github.com/eggjs/egg-healthy/pull/1.diff","patch_url":"https://github.com/eggjs/egg-healthy/pull/1.patch","issue_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/1","number":1,"state":"open","locked":false,"title":"feat: first implement","user":{"login":"popomore","id":360661,"node_id":"MDQ6VXNlcjM2MDY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/360661?v=4","gravatar_id":"","url":"https://api.github.com/users/popomore","html_url":"https://github.com/popomore","followers_url":"https://api.github.com/users/popomore/followers","following_url":"https://api.github.com/users/popomore/following{/other_user}","gists_url":"https://api.github.com/users/popomore/gists{/gist_id}","starred_url":"https://api.github.com/users/popomore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popomore/subscriptions","organizations_url":"https://api.github.com/users/popomore/orgs","repos_url":"https://api.github.com/users/popomore/repos","events_url":"https://api.github.com/users/popomore/events{/privacy}","received_events_url":"https://api.github.com/users/popomore/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for your pull request. Please review below requirements.\r\nBug fixes and new features should include tests and possibly benchmarks.\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n\r\n感谢您贡献代码。请确认下列 checklist 的完成情况。\r\nBug 修复和新功能必须包含测试，必要时请附上性能测试。\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [ ] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n<!-- Provide affected core subsystem(s). -->\r\n\r\n\r\n##### Description of change\r\n<!-- Provide a description of the change below this comment. -->\r\n","created_at":"2018-11-09T10:08:12Z","updated_at":"2018-11-09T17:03:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb156977fc811b488a503b0860735537733abf52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1/commits","review_comments_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1/comments","review_comment_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/1/comments","statuses_url":"https://api.github.com/repos/eggjs/egg-healthy/statuses/ecd45eb537b77a62204d4ff2c48ca89c33283861","head":{"label":"eggjs:first","ref":"first","sha":"ecd45eb537b77a62204d4ff2c48ca89c33283861","user":{"login":"eggjs","id":15833670,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1ODMzNjcw","avatar_url":"https://avatars1.githubusercontent.com/u/15833670?v=4","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":156717621,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY3MTc2MjE=","name":"egg-healthy","full_name":"eggjs/egg-healthy","private":false,"owner":{"login":"eggjs","id":15833670,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1ODMzNjcw","avatar_url":"https://avatars1.githubusercontent.com/u/15833670?v=4","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eggjs/egg-healthy","description":null,"fork":false,"url":"https://api.github.com/repos/eggjs/egg-healthy","forks_url":"https://api.github.com/repos/eggjs/egg-healthy/forks","keys_url":"https://api.github.com/repos/eggjs/egg-healthy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg-healthy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg-healthy/teams","hooks_url":"https://api.github.com/repos/eggjs/egg-healthy/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg-healthy/events","assignees_url":"https://api.github.com/repos/eggjs/egg-healthy/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg-healthy/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg-healthy/tags","blobs_url":"https://api.github.com/repos/eggjs/egg-healthy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg-healthy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg-healthy/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg-healthy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg-healthy/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg-healthy/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg-healthy/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg-healthy/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg-healthy/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg-healthy/subscription","commits_url":"https://api.github.com/repos/eggjs/egg-healthy/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg-healthy/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg-healthy/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg-healthy/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg-healthy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg-healthy/merges","archive_url":"https://api.github.com/repos/eggjs/egg-healthy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg-healthy/downloads","issues_url":"https://api.github.com/repos/eggjs/egg-healthy/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg-healthy/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg-healthy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg-healthy/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg-healthy/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg-healthy/deployments","created_at":"2018-11-08T14:18:29Z","updated_at":"2018-11-08T14:39:47Z","pushed_at":"2018-11-09T14:50:23Z","git_url":"git://github.com/eggjs/egg-healthy.git","ssh_url":"git@github.com:eggjs/egg-healthy.git","clone_url":"https://github.com/eggjs/egg-healthy.git","svn_url":"https://github.com/eggjs/egg-healthy","homepage":null,"size":28,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"eggjs:master","ref":"master","sha":"84f2d9881fe61b0e43a90901fb832b889b6918b0","user":{"login":"eggjs","id":15833670,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1ODMzNjcw","avatar_url":"https://avatars1.githubusercontent.com/u/15833670?v=4","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"repo":{"id":156717621,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY3MTc2MjE=","name":"egg-healthy","full_name":"eggjs/egg-healthy","private":false,"owner":{"login":"eggjs","id":15833670,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1ODMzNjcw","avatar_url":"https://avatars1.githubusercontent.com/u/15833670?v=4","gravatar_id":"","url":"https://api.github.com/users/eggjs","html_url":"https://github.com/eggjs","followers_url":"https://api.github.com/users/eggjs/followers","following_url":"https://api.github.com/users/eggjs/following{/other_user}","gists_url":"https://api.github.com/users/eggjs/gists{/gist_id}","starred_url":"https://api.github.com/users/eggjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggjs/subscriptions","organizations_url":"https://api.github.com/users/eggjs/orgs","repos_url":"https://api.github.com/users/eggjs/repos","events_url":"https://api.github.com/users/eggjs/events{/privacy}","received_events_url":"https://api.github.com/users/eggjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eggjs/egg-healthy","description":null,"fork":false,"url":"https://api.github.com/repos/eggjs/egg-healthy","forks_url":"https://api.github.com/repos/eggjs/egg-healthy/forks","keys_url":"https://api.github.com/repos/eggjs/egg-healthy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggjs/egg-healthy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggjs/egg-healthy/teams","hooks_url":"https://api.github.com/repos/eggjs/egg-healthy/hooks","issue_events_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/events{/number}","events_url":"https://api.github.com/repos/eggjs/egg-healthy/events","assignees_url":"https://api.github.com/repos/eggjs/egg-healthy/assignees{/user}","branches_url":"https://api.github.com/repos/eggjs/egg-healthy/branches{/branch}","tags_url":"https://api.github.com/repos/eggjs/egg-healthy/tags","blobs_url":"https://api.github.com/repos/eggjs/egg-healthy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggjs/egg-healthy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggjs/egg-healthy/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggjs/egg-healthy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggjs/egg-healthy/statuses/{sha}","languages_url":"https://api.github.com/repos/eggjs/egg-healthy/languages","stargazers_url":"https://api.github.com/repos/eggjs/egg-healthy/stargazers","contributors_url":"https://api.github.com/repos/eggjs/egg-healthy/contributors","subscribers_url":"https://api.github.com/repos/eggjs/egg-healthy/subscribers","subscription_url":"https://api.github.com/repos/eggjs/egg-healthy/subscription","commits_url":"https://api.github.com/repos/eggjs/egg-healthy/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggjs/egg-healthy/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggjs/egg-healthy/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggjs/egg-healthy/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggjs/egg-healthy/contents/{+path}","compare_url":"https://api.github.com/repos/eggjs/egg-healthy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggjs/egg-healthy/merges","archive_url":"https://api.github.com/repos/eggjs/egg-healthy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggjs/egg-healthy/downloads","issues_url":"https://api.github.com/repos/eggjs/egg-healthy/issues{/number}","pulls_url":"https://api.github.com/repos/eggjs/egg-healthy/pulls{/number}","milestones_url":"https://api.github.com/repos/eggjs/egg-healthy/milestones{/number}","notifications_url":"https://api.github.com/repos/eggjs/egg-healthy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggjs/egg-healthy/labels{/name}","releases_url":"https://api.github.com/repos/eggjs/egg-healthy/releases{/id}","deployments_url":"https://api.github.com/repos/eggjs/egg-healthy/deployments","created_at":"2018-11-08T14:18:29Z","updated_at":"2018-11-08T14:39:47Z","pushed_at":"2018-11-09T14:50:23Z","git_url":"git://github.com/eggjs/egg-healthy.git","ssh_url":"git@github.com:eggjs/egg-healthy.git","clone_url":"https://github.com/eggjs/egg-healthy.git","svn_url":"https://github.com/eggjs/egg-healthy","homepage":null,"size":28,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1"},"html":{"href":"https://github.com/eggjs/egg-healthy/pull/1"},"issue":{"href":"https://api.github.com/repos/eggjs/egg-healthy/issues/1"},"comments":{"href":"https://api.github.com/repos/eggjs/egg-healthy/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggjs/egg-healthy/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/eggjs/egg-healthy/statuses/ecd45eb537b77a62204d4ff2c48ca89c33283861"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"killagu"}}