{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/quilt/pulls/comments/190051211","pull_request_review_id":122350810,"id":190051211,"diff_hunk":"@@ -0,0 +1,12 @@\n+import {ReactElement} from 'react';\n+import {mount as enzymeMount, ReactWrapper, MountRendererProps} from 'enzyme';\n+import {addMountedWrapper} from './wrappers';","path":"packages/enzyme-utilities/src/mount.ts","position":3,"original_position":3,"commit_id":"f2000a86188355b5b452456bd862a697a0d87aef","original_commit_id":"f2000a86188355b5b452456bd862a697a0d87aef","user":{"login":"tzvipm","id":1950680,"avatar_url":"https://avatars1.githubusercontent.com/u/1950680?v=4","gravatar_id":"","url":"https://api.github.com/users/tzvipm","html_url":"https://github.com/tzvipm","followers_url":"https://api.github.com/users/tzvipm/followers","following_url":"https://api.github.com/users/tzvipm/following{/other_user}","gists_url":"https://api.github.com/users/tzvipm/gists{/gist_id}","starred_url":"https://api.github.com/users/tzvipm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzvipm/subscriptions","organizations_url":"https://api.github.com/users/tzvipm/orgs","repos_url":"https://api.github.com/users/tzvipm/repos","events_url":"https://api.github.com/users/tzvipm/events{/privacy}","received_events_url":"https://api.github.com/users/tzvipm/received_events","type":"User","site_admin":false},"body":"Note: by making the `wrappers` file separate from `mount`, we facilitate testable code via jest mocks: https://github.com/Shopify/quilt/pull/127/files#diff-b57d56e2c24aea42642caf55dc0610b9R8","created_at":"2018-05-22T20:59:40Z","updated_at":"2018-05-22T20:59:40Z","html_url":"https://github.com/Shopify/quilt/pull/127#discussion_r190051211","pull_request_url":"https://api.github.com/repos/Shopify/quilt/pulls/127","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/comments/190051211"},"html":{"href":"https://github.com/Shopify/quilt/pull/127#discussion_r190051211"},"pull_request":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/quilt/pulls/127","id":189788501,"html_url":"https://github.com/Shopify/quilt/pull/127","diff_url":"https://github.com/Shopify/quilt/pull/127.diff","patch_url":"https://github.com/Shopify/quilt/pull/127.patch","issue_url":"https://api.github.com/repos/Shopify/quilt/issues/127","number":127,"state":"open","locked":false,"title":"✨ Adds mount tracking to enzyme-utilities","user":{"login":"tzvipm","id":1950680,"avatar_url":"https://avatars1.githubusercontent.com/u/1950680?v=4","gravatar_id":"","url":"https://api.github.com/users/tzvipm","html_url":"https://github.com/tzvipm","followers_url":"https://api.github.com/users/tzvipm/followers","following_url":"https://api.github.com/users/tzvipm/following{/other_user}","gists_url":"https://api.github.com/users/tzvipm/gists{/gist_id}","starred_url":"https://api.github.com/users/tzvipm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzvipm/subscriptions","organizations_url":"https://api.github.com/users/tzvipm/orgs","repos_url":"https://api.github.com/users/tzvipm/repos","events_url":"https://api.github.com/users/tzvipm/events{/privacy}","received_events_url":"https://api.github.com/users/tzvipm/received_events","type":"User","site_admin":false},"body":"* Adding custom `mount` function\r\n* Adding tracking of wrappers via `addMountedWrapper` and `unmountAllWrappers`.\r\n* Tests, refactoring\r\n* docs","created_at":"2018-05-22T20:51:31Z","updated_at":"2018-05-22T20:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10e87ea71e47e10c02f8cf4a239ba776b6f8ce7d","assignee":{"login":"tzvipm","id":1950680,"avatar_url":"https://avatars1.githubusercontent.com/u/1950680?v=4","gravatar_id":"","url":"https://api.github.com/users/tzvipm","html_url":"https://github.com/tzvipm","followers_url":"https://api.github.com/users/tzvipm/followers","following_url":"https://api.github.com/users/tzvipm/following{/other_user}","gists_url":"https://api.github.com/users/tzvipm/gists{/gist_id}","starred_url":"https://api.github.com/users/tzvipm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzvipm/subscriptions","organizations_url":"https://api.github.com/users/tzvipm/orgs","repos_url":"https://api.github.com/users/tzvipm/repos","events_url":"https://api.github.com/users/tzvipm/events{/privacy}","received_events_url":"https://api.github.com/users/tzvipm/received_events","type":"User","site_admin":false},"assignees":[{"login":"tzvipm","id":1950680,"avatar_url":"https://avatars1.githubusercontent.com/u/1950680?v=4","gravatar_id":"","url":"https://api.github.com/users/tzvipm","html_url":"https://github.com/tzvipm","followers_url":"https://api.github.com/users/tzvipm/followers","following_url":"https://api.github.com/users/tzvipm/following{/other_user}","gists_url":"https://api.github.com/users/tzvipm/gists{/gist_id}","starred_url":"https://api.github.com/users/tzvipm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzvipm/subscriptions","organizations_url":"https://api.github.com/users/tzvipm/orgs","repos_url":"https://api.github.com/users/tzvipm/repos","events_url":"https://api.github.com/users/tzvipm/events{/privacy}","received_events_url":"https://api.github.com/users/tzvipm/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"lemonmade","id":3012583,"avatar_url":"https://avatars2.githubusercontent.com/u/3012583?v=4","gravatar_id":"","url":"https://api.github.com/users/lemonmade","html_url":"https://github.com/lemonmade","followers_url":"https://api.github.com/users/lemonmade/followers","following_url":"https://api.github.com/users/lemonmade/following{/other_user}","gists_url":"https://api.github.com/users/lemonmade/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonmade/subscriptions","organizations_url":"https://api.github.com/users/lemonmade/orgs","repos_url":"https://api.github.com/users/lemonmade/repos","events_url":"https://api.github.com/users/lemonmade/events{/privacy}","received_events_url":"https://api.github.com/users/lemonmade/received_events","type":"User","site_admin":false},{"login":"TheMallen","id":4889856,"avatar_url":"https://avatars2.githubusercontent.com/u/4889856?v=4","gravatar_id":"","url":"https://api.github.com/users/TheMallen","html_url":"https://github.com/TheMallen","followers_url":"https://api.github.com/users/TheMallen/followers","following_url":"https://api.github.com/users/TheMallen/following{/other_user}","gists_url":"https://api.github.com/users/TheMallen/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMallen/subscriptions","organizations_url":"https://api.github.com/users/TheMallen/orgs","repos_url":"https://api.github.com/users/TheMallen/repos","events_url":"https://api.github.com/users/TheMallen/events{/privacy}","received_events_url":"https://api.github.com/users/TheMallen/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/quilt/pulls/127/commits","review_comments_url":"https://api.github.com/repos/Shopify/quilt/pulls/127/comments","review_comment_url":"https://api.github.com/repos/Shopify/quilt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/quilt/issues/127/comments","statuses_url":"https://api.github.com/repos/Shopify/quilt/statuses/f2000a86188355b5b452456bd862a697a0d87aef","head":{"label":"Shopify:enzyme-utilities__mounts","ref":"enzyme-utilities__mounts","sha":"f2000a86188355b5b452456bd862a697a0d87aef","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":127035128,"name":"quilt","full_name":"Shopify/quilt","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/quilt","description":" A loosely related set of packages for JavaScript/Typescript projects.","fork":false,"url":"https://api.github.com/repos/Shopify/quilt","forks_url":"https://api.github.com/repos/Shopify/quilt/forks","keys_url":"https://api.github.com/repos/Shopify/quilt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/quilt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/quilt/teams","hooks_url":"https://api.github.com/repos/Shopify/quilt/hooks","issue_events_url":"https://api.github.com/repos/Shopify/quilt/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/quilt/events","assignees_url":"https://api.github.com/repos/Shopify/quilt/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/quilt/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/quilt/tags","blobs_url":"https://api.github.com/repos/Shopify/quilt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/quilt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/quilt/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/quilt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/quilt/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/quilt/languages","stargazers_url":"https://api.github.com/repos/Shopify/quilt/stargazers","contributors_url":"https://api.github.com/repos/Shopify/quilt/contributors","subscribers_url":"https://api.github.com/repos/Shopify/quilt/subscribers","subscription_url":"https://api.github.com/repos/Shopify/quilt/subscription","commits_url":"https://api.github.com/repos/Shopify/quilt/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/quilt/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/quilt/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/quilt/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/quilt/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/quilt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/quilt/merges","archive_url":"https://api.github.com/repos/Shopify/quilt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/quilt/downloads","issues_url":"https://api.github.com/repos/Shopify/quilt/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/quilt/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/quilt/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/quilt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/quilt/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/quilt/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/quilt/deployments","created_at":"2018-03-27T19:20:06Z","updated_at":"2018-05-22T19:55:16Z","pushed_at":"2018-05-22T20:58:16Z","git_url":"git://github.com/Shopify/quilt.git","ssh_url":"git@github.com:Shopify/quilt.git","clone_url":"https://github.com/Shopify/quilt.git","svn_url":"https://github.com/Shopify/quilt","homepage":"","size":394,"stargazers_count":8,"watchers_count":8,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":38,"watchers":8,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"b3c185dee11e31d7b1d0c46f1e3a7860d4ad316b","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":127035128,"name":"quilt","full_name":"Shopify/quilt","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars1.githubusercontent.com/u/8085?v=4","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/quilt","description":" A loosely related set of packages for JavaScript/Typescript projects.","fork":false,"url":"https://api.github.com/repos/Shopify/quilt","forks_url":"https://api.github.com/repos/Shopify/quilt/forks","keys_url":"https://api.github.com/repos/Shopify/quilt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/quilt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/quilt/teams","hooks_url":"https://api.github.com/repos/Shopify/quilt/hooks","issue_events_url":"https://api.github.com/repos/Shopify/quilt/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/quilt/events","assignees_url":"https://api.github.com/repos/Shopify/quilt/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/quilt/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/quilt/tags","blobs_url":"https://api.github.com/repos/Shopify/quilt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/quilt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/quilt/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/quilt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/quilt/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/quilt/languages","stargazers_url":"https://api.github.com/repos/Shopify/quilt/stargazers","contributors_url":"https://api.github.com/repos/Shopify/quilt/contributors","subscribers_url":"https://api.github.com/repos/Shopify/quilt/subscribers","subscription_url":"https://api.github.com/repos/Shopify/quilt/subscription","commits_url":"https://api.github.com/repos/Shopify/quilt/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/quilt/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/quilt/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/quilt/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/quilt/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/quilt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/quilt/merges","archive_url":"https://api.github.com/repos/Shopify/quilt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/quilt/downloads","issues_url":"https://api.github.com/repos/Shopify/quilt/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/quilt/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/quilt/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/quilt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/quilt/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/quilt/releases{/id}","deployments_url":"https://api.github.com/repos/Shopify/quilt/deployments","created_at":"2018-03-27T19:20:06Z","updated_at":"2018-05-22T19:55:16Z","pushed_at":"2018-05-22T20:58:16Z","git_url":"git://github.com/Shopify/quilt.git","ssh_url":"git@github.com:Shopify/quilt.git","clone_url":"https://github.com/Shopify/quilt.git","svn_url":"https://github.com/Shopify/quilt","homepage":"","size":394,"stargazers_count":8,"watchers_count":8,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":38,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/127"},"html":{"href":"https://github.com/Shopify/quilt/pull/127"},"issue":{"href":"https://api.github.com/repos/Shopify/quilt/issues/127"},"comments":{"href":"https://api.github.com/repos/Shopify/quilt/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/quilt/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/quilt/statuses/f2000a86188355b5b452456bd862a697a0d87aef"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tzvipm"}}