{"action":"opened","number":5183,"pull_request":{"url":"https://api.github.com/repos/facebook/create-react-app/pulls/5183","id":219236326,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjM2MzI2","html_url":"https://github.com/facebook/create-react-app/pull/5183","diff_url":"https://github.com/facebook/create-react-app/pull/5183.diff","patch_url":"https://github.com/facebook/create-react-app/pull/5183.patch","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/5183","number":5183,"state":"open","locked":false,"title":"Test class properties","user":{"login":"Timer","id":616428,"node_id":"MDQ6VXNlcjYxNjQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/616428?v=4","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"body":"Before #5182:\r\n```bash\r\n FAIL  fixtures/smoke/issue-5176-flow-class-properties/index.test.js (128.315s)\r\n  ● issue #5176 (flow class properties interaction) › passes tests\r\n    Command failed: ./node_modules/.bin/react-scripts test --env node --ci\r\n    FAIL src/App.test.js\r\n      ✕ creates instance without (7ms)\r\n      ● creates instance without\r\n        TypeError: Cannot read property 'bind' of undefined\r\n          1 | class App {\r\n          2 |   constructor() {\r\n        > 3 |     this.foo = this.foo.bind(this);\r\n            |                         ^\r\n          4 |   }\r\n          5 |   foo: void => void;\r\n          6 |   foo() {\r\n```\r\n\r\nAfter:\r\n```bash\r\n PASS  fixtures/smoke/issue-5176-flow-class-properties/index.test.js (203.468s)\r\n```","created_at":"2018-10-01T00:06:49Z","updated_at":"2018-10-01T00:06:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":492696025,"node_id":"MDU6TGFiZWw0OTI2OTYwMjU=","url":"https://api.github.com/repos/facebook/create-react-app/labels/tag:%20internal","name":"tag: internal","color":"bfdadc","default":false}],"milestone":{"url":"https://api.github.com/repos/facebook/create-react-app/milestones/30","html_url":"https://github.com/facebook/create-react-app/milestone/30","labels_url":"https://api.github.com/repos/facebook/create-react-app/milestones/30/labels","id":2507265,"node_id":"MDk6TWlsZXN0b25lMjUwNzI2NQ==","number":30,"title":"2.0.0","description":"","creator":{"login":"gaearon","id":810438,"node_id":"MDQ6VXNlcjgxMDQzOA==","avatar_url":"https://avatars0.githubusercontent.com/u/810438?v=4","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":332,"state":"open","created_at":"2017-05-08T14:28:51Z","updated_at":"2018-10-01T00:06:49Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/facebook/create-react-app/pulls/5183/commits","review_comments_url":"https://api.github.com/repos/facebook/create-react-app/pulls/5183/comments","review_comment_url":"https://api.github.com/repos/facebook/create-react-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/5183/comments","statuses_url":"https://api.github.com/repos/facebook/create-react-app/statuses/1603351dce6461217f7af695e60e47960a42546d","head":{"label":"Timer:test-class-properties","ref":"test-class-properties","sha":"1603351dce6461217f7af695e60e47960a42546d","user":{"login":"Timer","id":616428,"node_id":"MDQ6VXNlcjYxNjQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/616428?v=4","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"repo":{"id":71752446,"node_id":"MDEwOlJlcG9zaXRvcnk3MTc1MjQ0Ng==","name":"create-react-app","full_name":"Timer/create-react-app","private":false,"owner":{"login":"Timer","id":616428,"node_id":"MDQ6VXNlcjYxNjQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/616428?v=4","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Timer/create-react-app","description":"Create React apps with no build configuration.","fork":true,"url":"https://api.github.com/repos/Timer/create-react-app","forks_url":"https://api.github.com/repos/Timer/create-react-app/forks","keys_url":"https://api.github.com/repos/Timer/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Timer/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Timer/create-react-app/teams","hooks_url":"https://api.github.com/repos/Timer/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/Timer/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/Timer/create-react-app/events","assignees_url":"https://api.github.com/repos/Timer/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/Timer/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/Timer/create-react-app/tags","blobs_url":"https://api.github.com/repos/Timer/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Timer/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Timer/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Timer/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Timer/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Timer/create-react-app/languages","stargazers_url":"https://api.github.com/repos/Timer/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/Timer/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/Timer/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/Timer/create-react-app/subscription","commits_url":"https://api.github.com/repos/Timer/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Timer/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Timer/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Timer/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Timer/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/Timer/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Timer/create-react-app/merges","archive_url":"https://api.github.com/repos/Timer/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Timer/create-react-app/downloads","issues_url":"https://api.github.com/repos/Timer/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/Timer/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Timer/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Timer/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Timer/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/Timer/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/Timer/create-react-app/deployments","created_at":"2016-10-24T04:42:53Z","updated_at":"2018-09-27T04:21:11Z","pushed_at":"2018-09-30T23:58:07Z","git_url":"git://github.com/Timer/create-react-app.git","ssh_url":"git@github.com:Timer/create-react-app.git","clone_url":"https://github.com/Timer/create-react-app.git","svn_url":"https://github.com/Timer/create-react-app","homepage":null,"size":6342,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"next"}},"base":{"label":"facebook:master","ref":"master","sha":"72d4ab02922c54b80126da2e132f60fdbdc2f6b3","user":{"login":"facebook","id":69631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":63537249,"node_id":"MDEwOlJlcG9zaXRvcnk2MzUzNzI0OQ==","name":"create-react-app","full_name":"facebook/create-react-app","private":false,"owner":{"login":"facebook","id":69631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/facebook/create-react-app","description":"Create React apps with no build configuration.","fork":false,"url":"https://api.github.com/repos/facebook/create-react-app","forks_url":"https://api.github.com/repos/facebook/create-react-app/forks","keys_url":"https://api.github.com/repos/facebook/create-react-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/create-react-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/create-react-app/teams","hooks_url":"https://api.github.com/repos/facebook/create-react-app/hooks","issue_events_url":"https://api.github.com/repos/facebook/create-react-app/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/create-react-app/events","assignees_url":"https://api.github.com/repos/facebook/create-react-app/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/create-react-app/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/create-react-app/tags","blobs_url":"https://api.github.com/repos/facebook/create-react-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/create-react-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/create-react-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/create-react-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/create-react-app/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/create-react-app/languages","stargazers_url":"https://api.github.com/repos/facebook/create-react-app/stargazers","contributors_url":"https://api.github.com/repos/facebook/create-react-app/contributors","subscribers_url":"https://api.github.com/repos/facebook/create-react-app/subscribers","subscription_url":"https://api.github.com/repos/facebook/create-react-app/subscription","commits_url":"https://api.github.com/repos/facebook/create-react-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/create-react-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/create-react-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/create-react-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/create-react-app/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/create-react-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/create-react-app/merges","archive_url":"https://api.github.com/repos/facebook/create-react-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/create-react-app/downloads","issues_url":"https://api.github.com/repos/facebook/create-react-app/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/create-react-app/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/create-react-app/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/create-react-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/create-react-app/labels{/name}","releases_url":"https://api.github.com/repos/facebook/create-react-app/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/create-react-app/deployments","created_at":"2016-07-17T14:55:11Z","updated_at":"2018-09-30T23:46:57Z","pushed_at":"2018-10-01T00:06:39Z","git_url":"git://github.com/facebook/create-react-app.git","ssh_url":"git@github.com:facebook/create-react-app.git","clone_url":"https://github.com/facebook/create-react-app.git","svn_url":"https://github.com/facebook/create-react-app","homepage":null,"size":6308,"stargazers_count":56386,"watchers_count":56386,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11940,"mirror_url":null,"archived":false,"open_issues_count":362,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11940,"open_issues":362,"watchers":56386,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/create-react-app/pulls/5183"},"html":{"href":"https://github.com/facebook/create-react-app/pull/5183"},"issue":{"href":"https://api.github.com/repos/facebook/create-react-app/issues/5183"},"comments":{"href":"https://api.github.com/repos/facebook/create-react-app/issues/5183/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/create-react-app/pulls/5183/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/create-react-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/create-react-app/pulls/5183/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/create-react-app/statuses/1603351dce6461217f7af695e60e47960a42546d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":9,"additions":54,"deletions":1,"changed_files":7}}
{"actor":{"display_login":"Timer"}}