{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/emission/pulls/comments/157250571","pull_request_review_id":83867669,"id":157250571,"diff_hunk":"@@ -0,0 +1,12 @@\n+import React from \"react\"\n+import \"react-native\"\n+import * as renderer from \"react-test-renderer\"\n+import { ZeroState } from \"../index\"\n+\n+jest.mock(\"WebView\", () => \"WebView\")\n+jest.mock(\"../index.html\", () => \"\")\n+\n+it(\"looks correct when rendered\", () => {\n+  const auctions = renderer.create(<ZeroState />)\n+  expect(auctions).toMatchSnapshot()","path":"src/lib/Scenes/Home/Components/Sales/Components/ZeroState/__tests__/index-tests.tsx","position":11,"original_position":11,"commit_id":"9c7facb7a1948a4ad40de30ecc295949d869b057","original_commit_id":"9c7facb7a1948a4ad40de30ecc295949d869b057","user":{"login":"orta","id":49038,"avatar_url":"https://avatars2.githubusercontent.com/u/49038?v=4","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"FWIW, this test is really telling us nothing with the snapshot ^\r\n\r\nMaybe add tests around `onShouldStartLoadWithRequest` which has some logic?","created_at":"2017-12-15T17:02:49Z","updated_at":"2017-12-15T17:05:30Z","html_url":"https://github.com/artsy/emission/pull/884#discussion_r157250571","pull_request_url":"https://api.github.com/repos/artsy/emission/pulls/884","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/artsy/emission/pulls/comments/157250571"},"html":{"href":"https://github.com/artsy/emission/pull/884#discussion_r157250571"},"pull_request":{"href":"https://api.github.com/repos/artsy/emission/pulls/884"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/emission/pulls/884","id":157780842,"html_url":"https://github.com/artsy/emission/pull/884","diff_url":"https://github.com/artsy/emission/pull/884.diff","patch_url":"https://github.com/artsy/emission/pull/884.patch","issue_url":"https://api.github.com/repos/artsy/emission/issues/884","number":884,"state":"open","locked":false,"title":"[Auctions] adds web view for auction tab zero state","user":{"login":"l2succes","id":296775,"avatar_url":"https://avatars0.githubusercontent.com/u/296775?v=4","gravatar_id":"","url":"https://api.github.com/users/l2succes","html_url":"https://github.com/l2succes","followers_url":"https://api.github.com/users/l2succes/followers","following_url":"https://api.github.com/users/l2succes/following{/other_user}","gists_url":"https://api.github.com/users/l2succes/gists{/gist_id}","starred_url":"https://api.github.com/users/l2succes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2succes/subscriptions","organizations_url":"https://api.github.com/users/l2succes/orgs","repos_url":"https://api.github.com/users/l2succes/repos","events_url":"https://api.github.com/users/l2succes/events{/privacy}","received_events_url":"https://api.github.com/users/l2succes/received_events","type":"User","site_admin":false},"body":"See: https://github.com/artsy/collector-experience/issues/703\r\n\r\nThis PR adds a web view to support rendering an HTML based zero state view when there are no auctions to render.\r\n\r\nTo speed up loading and implementing the zero state view, we're loading a local HTML file \r\n\r\n<img src=\"https://user-images.githubusercontent.com/296775/33883397-399f8218-df6e-11e7-8700-60bfb0455595.gif\" width=\"320\" />\r\n","created_at":"2017-12-12T09:50:52Z","updated_at":"2017-12-15T17:05:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47fb30331760eddb4845ac88bc723d2102250421","assignee":{"login":"alloy","id":2320,"avatar_url":"https://avatars2.githubusercontent.com/u/2320?v=4","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"assignees":[{"login":"alloy","id":2320,"avatar_url":"https://avatars2.githubusercontent.com/u/2320?v=4","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},{"login":"katarinabatina","id":6482926,"avatar_url":"https://avatars3.githubusercontent.com/u/6482926?v=4","gravatar_id":"","url":"https://api.github.com/users/katarinabatina","html_url":"https://github.com/katarinabatina","followers_url":"https://api.github.com/users/katarinabatina/followers","following_url":"https://api.github.com/users/katarinabatina/following{/other_user}","gists_url":"https://api.github.com/users/katarinabatina/gists{/gist_id}","starred_url":"https://api.github.com/users/katarinabatina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katarinabatina/subscriptions","organizations_url":"https://api.github.com/users/katarinabatina/orgs","repos_url":"https://api.github.com/users/katarinabatina/repos","events_url":"https://api.github.com/users/katarinabatina/events{/privacy}","received_events_url":"https://api.github.com/users/katarinabatina/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/artsy/emission/pulls/884/commits","review_comments_url":"https://api.github.com/repos/artsy/emission/pulls/884/comments","review_comment_url":"https://api.github.com/repos/artsy/emission/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/emission/issues/884/comments","statuses_url":"https://api.github.com/repos/artsy/emission/statuses/9c7facb7a1948a4ad40de30ecc295949d869b057","head":{"label":"artsy:webview-home","ref":"webview-home","sha":"9c7facb7a1948a4ad40de30ecc295949d869b057","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":52437732,"name":"emission","full_name":"artsy/emission","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/emission","description":"React Native Components","fork":false,"url":"https://api.github.com/repos/artsy/emission","forks_url":"https://api.github.com/repos/artsy/emission/forks","keys_url":"https://api.github.com/repos/artsy/emission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/emission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/emission/teams","hooks_url":"https://api.github.com/repos/artsy/emission/hooks","issue_events_url":"https://api.github.com/repos/artsy/emission/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/emission/events","assignees_url":"https://api.github.com/repos/artsy/emission/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/emission/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/emission/tags","blobs_url":"https://api.github.com/repos/artsy/emission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/emission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/emission/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/emission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/emission/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/emission/languages","stargazers_url":"https://api.github.com/repos/artsy/emission/stargazers","contributors_url":"https://api.github.com/repos/artsy/emission/contributors","subscribers_url":"https://api.github.com/repos/artsy/emission/subscribers","subscription_url":"https://api.github.com/repos/artsy/emission/subscription","commits_url":"https://api.github.com/repos/artsy/emission/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/emission/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/emission/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/emission/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/emission/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/emission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/emission/merges","archive_url":"https://api.github.com/repos/artsy/emission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/emission/downloads","issues_url":"https://api.github.com/repos/artsy/emission/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/emission/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/emission/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/emission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/emission/labels{/name}","releases_url":"https://api.github.com/repos/artsy/emission/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/emission/deployments","created_at":"2016-02-24T11:36:24Z","updated_at":"2017-12-15T08:25:22Z","pushed_at":"2017-12-15T17:00:10Z","git_url":"git://github.com/artsy/emission.git","ssh_url":"git@github.com:artsy/emission.git","clone_url":"https://github.com/artsy/emission.git","svn_url":"https://github.com/artsy/emission","homepage":null,"size":15955,"stargazers_count":308,"watchers_count":308,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":36,"open_issues":66,"watchers":308,"default_branch":"master"}},"base":{"label":"artsy:master","ref":"master","sha":"940e303654b144d1e5408f96e45cf80e2004d5b8","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":52437732,"name":"emission","full_name":"artsy/emission","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars3.githubusercontent.com/u/546231?v=4","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/emission","description":"React Native Components","fork":false,"url":"https://api.github.com/repos/artsy/emission","forks_url":"https://api.github.com/repos/artsy/emission/forks","keys_url":"https://api.github.com/repos/artsy/emission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/emission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/emission/teams","hooks_url":"https://api.github.com/repos/artsy/emission/hooks","issue_events_url":"https://api.github.com/repos/artsy/emission/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/emission/events","assignees_url":"https://api.github.com/repos/artsy/emission/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/emission/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/emission/tags","blobs_url":"https://api.github.com/repos/artsy/emission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/emission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/emission/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/emission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/emission/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/emission/languages","stargazers_url":"https://api.github.com/repos/artsy/emission/stargazers","contributors_url":"https://api.github.com/repos/artsy/emission/contributors","subscribers_url":"https://api.github.com/repos/artsy/emission/subscribers","subscription_url":"https://api.github.com/repos/artsy/emission/subscription","commits_url":"https://api.github.com/repos/artsy/emission/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/emission/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/emission/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/emission/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/emission/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/emission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/emission/merges","archive_url":"https://api.github.com/repos/artsy/emission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/emission/downloads","issues_url":"https://api.github.com/repos/artsy/emission/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/emission/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/emission/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/emission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/emission/labels{/name}","releases_url":"https://api.github.com/repos/artsy/emission/releases{/id}","deployments_url":"https://api.github.com/repos/artsy/emission/deployments","created_at":"2016-02-24T11:36:24Z","updated_at":"2017-12-15T08:25:22Z","pushed_at":"2017-12-15T17:00:10Z","git_url":"git://github.com/artsy/emission.git","ssh_url":"git@github.com:artsy/emission.git","clone_url":"https://github.com/artsy/emission.git","svn_url":"https://github.com/artsy/emission","homepage":null,"size":15955,"stargazers_count":308,"watchers_count":308,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":36,"open_issues":66,"watchers":308,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/emission/pulls/884"},"html":{"href":"https://github.com/artsy/emission/pull/884"},"issue":{"href":"https://api.github.com/repos/artsy/emission/issues/884"},"comments":{"href":"https://api.github.com/repos/artsy/emission/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/emission/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/emission/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/emission/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/emission/statuses/9c7facb7a1948a4ad40de30ecc295949d869b057"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"orta"}}