{"action":"created","comment":{"url":"https://api.github.com/repos/Amsterdam/atlas/pulls/comments/224038857","pull_request_review_id":163305490,"id":224038857,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDAzODg1Nw==","diff_hunk":"@@ -49,4 +42,28 @@ describe('map preview reducer and actions', () => {\n       });\n     });\n   });\n+\n+  describe('showDetailView action', () => {\n+    it('should return the proper action', () => {\n+      expect(showDetailView()).toEqual({\n+        payload: {\n+          noRedirect: true,\n+          route: routing.detail.type\n+        },\n+        type: UPDATE_MAP\n+      });\n+    });\n+  });\n+\n+  describe('showSearchView action', () => {\n+    it('should return the proper action', () => {\n+      expect(showSearchView()).toEqual({\n+        payload: {\n+          noRedirect: true,\n+          route: routing.mapSearch.type\n+        },\n+        type: UPDATE_MAP","path":"src/map/ducks/preview-panel/map-preview-panel.test.js","position":57,"original_position":57,"commit_id":"ea3ea53f7bf54927933ee7efc45af6739cf35d5c","original_commit_id":"ef55da7a53e83ec0e63bfb81a4d85ff24338e9a6","user":{"login":"RRMoelker","id":205326,"node_id":"MDQ6VXNlcjIwNTMyNg==","avatar_url":"https://avatars0.githubusercontent.com/u/205326?v=4","gravatar_id":"","url":"https://api.github.com/users/RRMoelker","html_url":"https://github.com/RRMoelker","followers_url":"https://api.github.com/users/RRMoelker/followers","following_url":"https://api.github.com/users/RRMoelker/following{/other_user}","gists_url":"https://api.github.com/users/RRMoelker/gists{/gist_id}","starred_url":"https://api.github.com/users/RRMoelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RRMoelker/subscriptions","organizations_url":"https://api.github.com/users/RRMoelker/orgs","repos_url":"https://api.github.com/users/RRMoelker/repos","events_url":"https://api.github.com/users/RRMoelker/events{/privacy}","received_events_url":"https://api.github.com/users/RRMoelker/received_events","type":"User","site_admin":false},"body":"Gebruik een action reducer voor de tests. Anders ben je die code aan het dupliceren. Better yet, `UPDATE_MAP` zou denk ik niet exported moeten worden.","created_at":"2018-10-10T11:37:24Z","updated_at":"2018-10-10T11:41:34Z","html_url":"https://github.com/Amsterdam/atlas/pull/1358#discussion_r224038857","pull_request_url":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/comments/224038857"},"html":{"href":"https://github.com/Amsterdam/atlas/pull/1358#discussion_r224038857"},"pull_request":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358"}}},"pull_request":{"url":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358","id":221747370,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNzQ3Mzcw","html_url":"https://github.com/Amsterdam/atlas/pull/1358","diff_url":"https://github.com/Amsterdam/atlas/pull/1358.diff","patch_url":"https://github.com/Amsterdam/atlas/pull/1358.patch","issue_url":"https://api.github.com/repos/Amsterdam/atlas/issues/1358","number":1358,"state":"open","locked":false,"title":"DetailContainer and SearchContainer to be used in the map page","user":{"login":"chrisvanmook","id":2486227,"node_id":"MDQ6VXNlcjI0ODYyMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/2486227?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvanmook","html_url":"https://github.com/chrisvanmook","followers_url":"https://api.github.com/users/chrisvanmook/followers","following_url":"https://api.github.com/users/chrisvanmook/following{/other_user}","gists_url":"https://api.github.com/users/chrisvanmook/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvanmook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvanmook/subscriptions","organizations_url":"https://api.github.com/users/chrisvanmook/orgs","repos_url":"https://api.github.com/users/chrisvanmook/repos","events_url":"https://api.github.com/users/chrisvanmook/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvanmook/received_events","type":"User","site_admin":false},"body":"Created DetailContainer and SearchContainer to be used in the map page. Moved deprecated reducer search to map-search, updated and added tests, created new route saga's","created_at":"2018-10-10T11:06:02Z","updated_at":"2018-10-10T11:41:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"726865c2aeae377797510aa31f33d8ce38b6b629","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358/commits","review_comments_url":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358/comments","review_comment_url":"https://api.github.com/repos/Amsterdam/atlas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Amsterdam/atlas/issues/1358/comments","statuses_url":"https://api.github.com/repos/Amsterdam/atlas/statuses/ea3ea53f7bf54927933ee7efc45af6739cf35d5c","head":{"label":"Amsterdam:feature/react-as-root-map-detail-search","ref":"feature/react-as-root-map-detail-search","sha":"ea3ea53f7bf54927933ee7efc45af6739cf35d5c","user":{"login":"Amsterdam","id":14022058,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDIyMDU4","avatar_url":"https://avatars0.githubusercontent.com/u/14022058?v=4","gravatar_id":"","url":"https://api.github.com/users/Amsterdam","html_url":"https://github.com/Amsterdam","followers_url":"https://api.github.com/users/Amsterdam/followers","following_url":"https://api.github.com/users/Amsterdam/following{/other_user}","gists_url":"https://api.github.com/users/Amsterdam/gists{/gist_id}","starred_url":"https://api.github.com/users/Amsterdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amsterdam/subscriptions","organizations_url":"https://api.github.com/users/Amsterdam/orgs","repos_url":"https://api.github.com/users/Amsterdam/repos","events_url":"https://api.github.com/users/Amsterdam/events{/privacy}","received_events_url":"https://api.github.com/users/Amsterdam/received_events","type":"Organization","site_admin":false},"repo":{"id":60016458,"node_id":"MDEwOlJlcG9zaXRvcnk2MDAxNjQ1OA==","name":"atlas","full_name":"Amsterdam/atlas","private":false,"owner":{"login":"Amsterdam","id":14022058,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDIyMDU4","avatar_url":"https://avatars0.githubusercontent.com/u/14022058?v=4","gravatar_id":"","url":"https://api.github.com/users/Amsterdam","html_url":"https://github.com/Amsterdam","followers_url":"https://api.github.com/users/Amsterdam/followers","following_url":"https://api.github.com/users/Amsterdam/following{/other_user}","gists_url":"https://api.github.com/users/Amsterdam/gists{/gist_id}","starred_url":"https://api.github.com/users/Amsterdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amsterdam/subscriptions","organizations_url":"https://api.github.com/users/Amsterdam/orgs","repos_url":"https://api.github.com/users/Amsterdam/repos","events_url":"https://api.github.com/users/Amsterdam/events{/privacy}","received_events_url":"https://api.github.com/users/Amsterdam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Amsterdam/atlas","description":null,"fork":false,"url":"https://api.github.com/repos/Amsterdam/atlas","forks_url":"https://api.github.com/repos/Amsterdam/atlas/forks","keys_url":"https://api.github.com/repos/Amsterdam/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amsterdam/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amsterdam/atlas/teams","hooks_url":"https://api.github.com/repos/Amsterdam/atlas/hooks","issue_events_url":"https://api.github.com/repos/Amsterdam/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/Amsterdam/atlas/events","assignees_url":"https://api.github.com/repos/Amsterdam/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/Amsterdam/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/Amsterdam/atlas/tags","blobs_url":"https://api.github.com/repos/Amsterdam/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amsterdam/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amsterdam/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amsterdam/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amsterdam/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/Amsterdam/atlas/languages","stargazers_url":"https://api.github.com/repos/Amsterdam/atlas/stargazers","contributors_url":"https://api.github.com/repos/Amsterdam/atlas/contributors","subscribers_url":"https://api.github.com/repos/Amsterdam/atlas/subscribers","subscription_url":"https://api.github.com/repos/Amsterdam/atlas/subscription","commits_url":"https://api.github.com/repos/Amsterdam/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amsterdam/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amsterdam/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amsterdam/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amsterdam/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/Amsterdam/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amsterdam/atlas/merges","archive_url":"https://api.github.com/repos/Amsterdam/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amsterdam/atlas/downloads","issues_url":"https://api.github.com/repos/Amsterdam/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/Amsterdam/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/Amsterdam/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/Amsterdam/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amsterdam/atlas/labels{/name}","releases_url":"https://api.github.com/repos/Amsterdam/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/Amsterdam/atlas/deployments","created_at":"2016-05-30T14:31:42Z","updated_at":"2018-10-09T13:54:36Z","pushed_at":"2018-10-10T11:32:59Z","git_url":"git://github.com/Amsterdam/atlas.git","ssh_url":"git@github.com:Amsterdam/atlas.git","clone_url":"https://github.com/Amsterdam/atlas.git","svn_url":"https://github.com/Amsterdam/atlas","homepage":"","size":30132,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":4,"open_issues":9,"watchers":9,"default_branch":"develop"}},"base":{"label":"Amsterdam:feature/react-as-root","ref":"feature/react-as-root","sha":"f91071b0e639dd2259a44741996ef315e47908ca","user":{"login":"Amsterdam","id":14022058,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDIyMDU4","avatar_url":"https://avatars0.githubusercontent.com/u/14022058?v=4","gravatar_id":"","url":"https://api.github.com/users/Amsterdam","html_url":"https://github.com/Amsterdam","followers_url":"https://api.github.com/users/Amsterdam/followers","following_url":"https://api.github.com/users/Amsterdam/following{/other_user}","gists_url":"https://api.github.com/users/Amsterdam/gists{/gist_id}","starred_url":"https://api.github.com/users/Amsterdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amsterdam/subscriptions","organizations_url":"https://api.github.com/users/Amsterdam/orgs","repos_url":"https://api.github.com/users/Amsterdam/repos","events_url":"https://api.github.com/users/Amsterdam/events{/privacy}","received_events_url":"https://api.github.com/users/Amsterdam/received_events","type":"Organization","site_admin":false},"repo":{"id":60016458,"node_id":"MDEwOlJlcG9zaXRvcnk2MDAxNjQ1OA==","name":"atlas","full_name":"Amsterdam/atlas","private":false,"owner":{"login":"Amsterdam","id":14022058,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MDIyMDU4","avatar_url":"https://avatars0.githubusercontent.com/u/14022058?v=4","gravatar_id":"","url":"https://api.github.com/users/Amsterdam","html_url":"https://github.com/Amsterdam","followers_url":"https://api.github.com/users/Amsterdam/followers","following_url":"https://api.github.com/users/Amsterdam/following{/other_user}","gists_url":"https://api.github.com/users/Amsterdam/gists{/gist_id}","starred_url":"https://api.github.com/users/Amsterdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amsterdam/subscriptions","organizations_url":"https://api.github.com/users/Amsterdam/orgs","repos_url":"https://api.github.com/users/Amsterdam/repos","events_url":"https://api.github.com/users/Amsterdam/events{/privacy}","received_events_url":"https://api.github.com/users/Amsterdam/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Amsterdam/atlas","description":null,"fork":false,"url":"https://api.github.com/repos/Amsterdam/atlas","forks_url":"https://api.github.com/repos/Amsterdam/atlas/forks","keys_url":"https://api.github.com/repos/Amsterdam/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amsterdam/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amsterdam/atlas/teams","hooks_url":"https://api.github.com/repos/Amsterdam/atlas/hooks","issue_events_url":"https://api.github.com/repos/Amsterdam/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/Amsterdam/atlas/events","assignees_url":"https://api.github.com/repos/Amsterdam/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/Amsterdam/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/Amsterdam/atlas/tags","blobs_url":"https://api.github.com/repos/Amsterdam/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amsterdam/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amsterdam/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amsterdam/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amsterdam/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/Amsterdam/atlas/languages","stargazers_url":"https://api.github.com/repos/Amsterdam/atlas/stargazers","contributors_url":"https://api.github.com/repos/Amsterdam/atlas/contributors","subscribers_url":"https://api.github.com/repos/Amsterdam/atlas/subscribers","subscription_url":"https://api.github.com/repos/Amsterdam/atlas/subscription","commits_url":"https://api.github.com/repos/Amsterdam/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amsterdam/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amsterdam/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amsterdam/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amsterdam/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/Amsterdam/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amsterdam/atlas/merges","archive_url":"https://api.github.com/repos/Amsterdam/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amsterdam/atlas/downloads","issues_url":"https://api.github.com/repos/Amsterdam/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/Amsterdam/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/Amsterdam/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/Amsterdam/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amsterdam/atlas/labels{/name}","releases_url":"https://api.github.com/repos/Amsterdam/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/Amsterdam/atlas/deployments","created_at":"2016-05-30T14:31:42Z","updated_at":"2018-10-09T13:54:36Z","pushed_at":"2018-10-10T11:32:59Z","git_url":"git://github.com/Amsterdam/atlas.git","ssh_url":"git@github.com:Amsterdam/atlas.git","clone_url":"https://github.com/Amsterdam/atlas.git","svn_url":"https://github.com/Amsterdam/atlas","homepage":"","size":30132,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":4,"open_issues":9,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358"},"html":{"href":"https://github.com/Amsterdam/atlas/pull/1358"},"issue":{"href":"https://api.github.com/repos/Amsterdam/atlas/issues/1358"},"comments":{"href":"https://api.github.com/repos/Amsterdam/atlas/issues/1358/comments"},"review_comments":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358/comments"},"review_comment":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Amsterdam/atlas/pulls/1358/commits"},"statuses":{"href":"https://api.github.com/repos/Amsterdam/atlas/statuses/ea3ea53f7bf54927933ee7efc45af6739cf35d5c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"RRMoelker"}}