{"action":"created","comment":{"url":"https://api.github.com/repos/airbnb/enzyme/pulls/comments/78460359","id":78460359,"diff_hunk":"@@ -12,6 +12,8 @@ import {\n   REACT15,\n } from './version';\n \n+export const ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;","path":"src/Utils.js","position":4,"original_position":4,"commit_id":"e20f564b20241e863235e9a8ecd64386cf840819","original_commit_id":"e20f564b20241e863235e9a8ecd64386cf840819","user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"body":"Yes, that's true, because Symbols can't be polyfilled (because of `typeof`) and `Symbol.for` - ie, it'd not be a shim, but a sham.\r\n\r\nI suppose I don't need to make it a sticking point here, but I'd prefer a more robust test than truthiness - for now this is fine, but I'll extract https://github.com/ljharb/object.assign/blob/master/hasSymbols.js out to a module or two and we can use that instead :-)","created_at":"2016-09-12T21:41:24Z","updated_at":"2016-09-12T21:41:24Z","html_url":"https://github.com/airbnb/enzyme/pull/594#discussion_r78460359","pull_request_url":"https://api.github.com/repos/airbnb/enzyme/pulls/594","_links":{"self":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/comments/78460359"},"html":{"href":"https://github.com/airbnb/enzyme/pull/594#discussion_r78460359"},"pull_request":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/594"}}},"pull_request":{"url":"https://api.github.com/repos/airbnb/enzyme/pulls/594","id":84899054,"html_url":"https://github.com/airbnb/enzyme/pull/594","diff_url":"https://github.com/airbnb/enzyme/pull/594.diff","patch_url":"https://github.com/airbnb/enzyme/pull/594.patch","issue_url":"https://api.github.com/repos/airbnb/enzyme/issues/594","number":594,"state":"open","locked":false,"title":"Make ReactWrapper and ShallowWrapper iterable","user":{"login":"Aweary","id":6886061,"avatar_url":"https://avatars.githubusercontent.com/u/6886061?v=3","gravatar_id":"","url":"https://api.github.com/users/Aweary","html_url":"https://github.com/Aweary","followers_url":"https://api.github.com/users/Aweary/followers","following_url":"https://api.github.com/users/Aweary/following{/other_user}","gists_url":"https://api.github.com/users/Aweary/gists{/gist_id}","starred_url":"https://api.github.com/users/Aweary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aweary/subscriptions","organizations_url":"https://api.github.com/users/Aweary/orgs","repos_url":"https://api.github.com/users/Aweary/repos","events_url":"https://api.github.com/users/Aweary/events{/privacy}","received_events_url":"https://api.github.com/users/Aweary/received_events","type":"User","site_admin":false},"body":"Resolves https://github.com/airbnb/enzyme/issues/577\r\n\r\ncc @ljharb ","created_at":"2016-09-12T16:07:31Z","updated_at":"2016-09-12T21:41:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22018fae5ea5ff37dd78f869d6378ac8495cb071","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/airbnb/enzyme/pulls/594/commits","review_comments_url":"https://api.github.com/repos/airbnb/enzyme/pulls/594/comments","review_comment_url":"https://api.github.com/repos/airbnb/enzyme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airbnb/enzyme/issues/594/comments","statuses_url":"https://api.github.com/repos/airbnb/enzyme/statuses/e20f564b20241e863235e9a8ecd64386cf840819","head":{"label":"Aweary:iterable-wrapper","ref":"iterable-wrapper","sha":"e20f564b20241e863235e9a8ecd64386cf840819","user":{"login":"Aweary","id":6886061,"avatar_url":"https://avatars.githubusercontent.com/u/6886061?v=3","gravatar_id":"","url":"https://api.github.com/users/Aweary","html_url":"https://github.com/Aweary","followers_url":"https://api.github.com/users/Aweary/followers","following_url":"https://api.github.com/users/Aweary/following{/other_user}","gists_url":"https://api.github.com/users/Aweary/gists{/gist_id}","starred_url":"https://api.github.com/users/Aweary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aweary/subscriptions","organizations_url":"https://api.github.com/users/Aweary/orgs","repos_url":"https://api.github.com/users/Aweary/repos","events_url":"https://api.github.com/users/Aweary/events{/privacy}","received_events_url":"https://api.github.com/users/Aweary/received_events","type":"User","site_admin":false},"repo":{"id":57139163,"name":"enzyme","full_name":"Aweary/enzyme","owner":{"login":"Aweary","id":6886061,"avatar_url":"https://avatars.githubusercontent.com/u/6886061?v=3","gravatar_id":"","url":"https://api.github.com/users/Aweary","html_url":"https://github.com/Aweary","followers_url":"https://api.github.com/users/Aweary/followers","following_url":"https://api.github.com/users/Aweary/following{/other_user}","gists_url":"https://api.github.com/users/Aweary/gists{/gist_id}","starred_url":"https://api.github.com/users/Aweary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aweary/subscriptions","organizations_url":"https://api.github.com/users/Aweary/orgs","repos_url":"https://api.github.com/users/Aweary/repos","events_url":"https://api.github.com/users/Aweary/events{/privacy}","received_events_url":"https://api.github.com/users/Aweary/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Aweary/enzyme","description":"JavaScript Testing utilities for React","fork":true,"url":"https://api.github.com/repos/Aweary/enzyme","forks_url":"https://api.github.com/repos/Aweary/enzyme/forks","keys_url":"https://api.github.com/repos/Aweary/enzyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aweary/enzyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aweary/enzyme/teams","hooks_url":"https://api.github.com/repos/Aweary/enzyme/hooks","issue_events_url":"https://api.github.com/repos/Aweary/enzyme/issues/events{/number}","events_url":"https://api.github.com/repos/Aweary/enzyme/events","assignees_url":"https://api.github.com/repos/Aweary/enzyme/assignees{/user}","branches_url":"https://api.github.com/repos/Aweary/enzyme/branches{/branch}","tags_url":"https://api.github.com/repos/Aweary/enzyme/tags","blobs_url":"https://api.github.com/repos/Aweary/enzyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aweary/enzyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aweary/enzyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aweary/enzyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aweary/enzyme/statuses/{sha}","languages_url":"https://api.github.com/repos/Aweary/enzyme/languages","stargazers_url":"https://api.github.com/repos/Aweary/enzyme/stargazers","contributors_url":"https://api.github.com/repos/Aweary/enzyme/contributors","subscribers_url":"https://api.github.com/repos/Aweary/enzyme/subscribers","subscription_url":"https://api.github.com/repos/Aweary/enzyme/subscription","commits_url":"https://api.github.com/repos/Aweary/enzyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aweary/enzyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aweary/enzyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aweary/enzyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aweary/enzyme/contents/{+path}","compare_url":"https://api.github.com/repos/Aweary/enzyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aweary/enzyme/merges","archive_url":"https://api.github.com/repos/Aweary/enzyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aweary/enzyme/downloads","issues_url":"https://api.github.com/repos/Aweary/enzyme/issues{/number}","pulls_url":"https://api.github.com/repos/Aweary/enzyme/pulls{/number}","milestones_url":"https://api.github.com/repos/Aweary/enzyme/milestones{/number}","notifications_url":"https://api.github.com/repos/Aweary/enzyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aweary/enzyme/labels{/name}","releases_url":"https://api.github.com/repos/Aweary/enzyme/releases{/id}","deployments_url":"https://api.github.com/repos/Aweary/enzyme/deployments","created_at":"2016-04-26T15:20:21Z","updated_at":"2016-04-26T15:20:21Z","pushed_at":"2016-09-12T18:39:38Z","git_url":"git://github.com/Aweary/enzyme.git","ssh_url":"git@github.com:Aweary/enzyme.git","clone_url":"https://github.com/Aweary/enzyme.git","svn_url":"https://github.com/Aweary/enzyme","homepage":"http://airbnb.io/enzyme/","size":1553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"airbnb:master","ref":"master","sha":"08f97a277b2c7424f21448c456cb9944269c6d5a","user":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"repo":{"id":45942274,"name":"enzyme","full_name":"airbnb/enzyme","owner":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbnb/enzyme","description":"JavaScript Testing utilities for React","fork":false,"url":"https://api.github.com/repos/airbnb/enzyme","forks_url":"https://api.github.com/repos/airbnb/enzyme/forks","keys_url":"https://api.github.com/repos/airbnb/enzyme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbnb/enzyme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbnb/enzyme/teams","hooks_url":"https://api.github.com/repos/airbnb/enzyme/hooks","issue_events_url":"https://api.github.com/repos/airbnb/enzyme/issues/events{/number}","events_url":"https://api.github.com/repos/airbnb/enzyme/events","assignees_url":"https://api.github.com/repos/airbnb/enzyme/assignees{/user}","branches_url":"https://api.github.com/repos/airbnb/enzyme/branches{/branch}","tags_url":"https://api.github.com/repos/airbnb/enzyme/tags","blobs_url":"https://api.github.com/repos/airbnb/enzyme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbnb/enzyme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbnb/enzyme/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbnb/enzyme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbnb/enzyme/statuses/{sha}","languages_url":"https://api.github.com/repos/airbnb/enzyme/languages","stargazers_url":"https://api.github.com/repos/airbnb/enzyme/stargazers","contributors_url":"https://api.github.com/repos/airbnb/enzyme/contributors","subscribers_url":"https://api.github.com/repos/airbnb/enzyme/subscribers","subscription_url":"https://api.github.com/repos/airbnb/enzyme/subscription","commits_url":"https://api.github.com/repos/airbnb/enzyme/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbnb/enzyme/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbnb/enzyme/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbnb/enzyme/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbnb/enzyme/contents/{+path}","compare_url":"https://api.github.com/repos/airbnb/enzyme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbnb/enzyme/merges","archive_url":"https://api.github.com/repos/airbnb/enzyme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbnb/enzyme/downloads","issues_url":"https://api.github.com/repos/airbnb/enzyme/issues{/number}","pulls_url":"https://api.github.com/repos/airbnb/enzyme/pulls{/number}","milestones_url":"https://api.github.com/repos/airbnb/enzyme/milestones{/number}","notifications_url":"https://api.github.com/repos/airbnb/enzyme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbnb/enzyme/labels{/name}","releases_url":"https://api.github.com/repos/airbnb/enzyme/releases{/id}","deployments_url":"https://api.github.com/repos/airbnb/enzyme/deployments","created_at":"2015-11-10T21:45:38Z","updated_at":"2016-09-12T21:25:27Z","pushed_at":"2016-09-12T19:13:53Z","git_url":"git://github.com/airbnb/enzyme.git","ssh_url":"git@github.com:airbnb/enzyme.git","clone_url":"https://github.com/airbnb/enzyme.git","svn_url":"https://github.com/airbnb/enzyme","homepage":"http://airbnb.io/enzyme/","size":2122,"stargazers_count":6485,"watchers_count":6485,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":444,"mirror_url":null,"open_issues_count":103,"forks":444,"open_issues":103,"watchers":6485,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/594"},"html":{"href":"https://github.com/airbnb/enzyme/pull/594"},"issue":{"href":"https://api.github.com/repos/airbnb/enzyme/issues/594"},"comments":{"href":"https://api.github.com/repos/airbnb/enzyme/issues/594/comments"},"review_comments":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/594/comments"},"review_comment":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airbnb/enzyme/pulls/594/commits"},"statuses":{"href":"https://api.github.com/repos/airbnb/enzyme/statuses/e20f564b20241e863235e9a8ecd64386cf840819"}}}}
{"actor":{"display_login":"ljharb"}}