{"action":"created","comment":{"url":"https://api.github.com/repos/Sage/carbon/pulls/comments/138296347","pull_request_review_id":62070340,"id":138296347,"diff_hunk":"@@ -62,6 +62,16 @@ describe('GroupedCharacter', () => {\n         expect(input.nodes[0].value).toEqual('12/3456/789');\n       });\n     });\n+\n+    describe('on initial render when a value is passed in', () => {\n+      it('renders the value with separators', () => {\n+        wrapper = mount(\n+          <GroupedCharacter onChange={ jasmine.createSpy('onChange') } groups={ [2, 2, 2] } value='123456' />","path":"src/components/grouped-character/__spec__.js","position":8,"original_position":8,"commit_id":"048f59a5f82d22e88f45dc54c2bda50c4519a3e2","original_commit_id":"048f59a5f82d22e88f45dc54c2bda50c4519a3e2","user":{"login":"ianoxley","id":52329,"avatar_url":"https://avatars3.githubusercontent.com/u/52329?v=4","gravatar_id":"","url":"https://api.github.com/users/ianoxley","html_url":"https://github.com/ianoxley","followers_url":"https://api.github.com/users/ianoxley/followers","following_url":"https://api.github.com/users/ianoxley/following{/other_user}","gists_url":"https://api.github.com/users/ianoxley/gists{/gist_id}","starred_url":"https://api.github.com/users/ianoxley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianoxley/subscriptions","organizations_url":"https://api.github.com/users/ianoxley/orgs","repos_url":"https://api.github.com/users/ianoxley/repos","events_url":"https://api.github.com/users/ianoxley/events{/privacy}","received_events_url":"https://api.github.com/users/ianoxley/received_events","type":"User","site_admin":false},"body":"Prefer `jest.fn()` over `jasmine.createSpy`.","created_at":"2017-09-12T09:27:48Z","updated_at":"2017-09-12T09:28:32Z","html_url":"https://github.com/Sage/carbon/pull/1553#discussion_r138296347","pull_request_url":"https://api.github.com/repos/Sage/carbon/pulls/1553","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Sage/carbon/pulls/comments/138296347"},"html":{"href":"https://github.com/Sage/carbon/pull/1553#discussion_r138296347"},"pull_request":{"href":"https://api.github.com/repos/Sage/carbon/pulls/1553"}}},"pull_request":{"url":"https://api.github.com/repos/Sage/carbon/pulls/1553","id":140526171,"html_url":"https://github.com/Sage/carbon/pull/1553","diff_url":"https://github.com/Sage/carbon/pull/1553.diff","patch_url":"https://github.com/Sage/carbon/pull/1553.patch","issue_url":"https://api.github.com/repos/Sage/carbon/issues/1553","number":1553,"state":"open","locked":false,"title":"Store formatted value in state for grouped character","user":{"login":"abramin","id":9549240,"avatar_url":"https://avatars2.githubusercontent.com/u/9549240?v=4","gravatar_id":"","url":"https://api.github.com/users/abramin","html_url":"https://github.com/abramin","followers_url":"https://api.github.com/users/abramin/followers","following_url":"https://api.github.com/users/abramin/following{/other_user}","gists_url":"https://api.github.com/users/abramin/gists{/gist_id}","starred_url":"https://api.github.com/users/abramin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abramin/subscriptions","organizations_url":"https://api.github.com/users/abramin/orgs","repos_url":"https://api.github.com/users/abramin/repos","events_url":"https://api.github.com/users/abramin/events{/privacy}","received_events_url":"https://api.github.com/users/abramin/received_events","type":"User","site_admin":false},"body":"# Description\r\n* Store formatted value in state so value always displayed with separators. This means values passed in from a store on first render will be correctly formatted.\r\n","created_at":"2017-09-12T09:12:16Z","updated_at":"2017-09-12T09:28:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60419c020acf45360621fe408f4424d99fb2df28","assignee":{"login":"abramin","id":9549240,"avatar_url":"https://avatars2.githubusercontent.com/u/9549240?v=4","gravatar_id":"","url":"https://api.github.com/users/abramin","html_url":"https://github.com/abramin","followers_url":"https://api.github.com/users/abramin/followers","following_url":"https://api.github.com/users/abramin/following{/other_user}","gists_url":"https://api.github.com/users/abramin/gists{/gist_id}","starred_url":"https://api.github.com/users/abramin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abramin/subscriptions","organizations_url":"https://api.github.com/users/abramin/orgs","repos_url":"https://api.github.com/users/abramin/repos","events_url":"https://api.github.com/users/abramin/events{/privacy}","received_events_url":"https://api.github.com/users/abramin/received_events","type":"User","site_admin":false},"assignees":[{"login":"abramin","id":9549240,"avatar_url":"https://avatars2.githubusercontent.com/u/9549240?v=4","gravatar_id":"","url":"https://api.github.com/users/abramin","html_url":"https://github.com/abramin","followers_url":"https://api.github.com/users/abramin/followers","following_url":"https://api.github.com/users/abramin/following{/other_user}","gists_url":"https://api.github.com/users/abramin/gists{/gist_id}","starred_url":"https://api.github.com/users/abramin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abramin/subscriptions","organizations_url":"https://api.github.com/users/abramin/orgs","repos_url":"https://api.github.com/users/abramin/repos","events_url":"https://api.github.com/users/abramin/events{/privacy}","received_events_url":"https://api.github.com/users/abramin/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/Sage/carbon/milestones/104","html_url":"https://github.com/Sage/carbon/milestone/104","labels_url":"https://api.github.com/repos/Sage/carbon/milestones/104/labels","id":2590815,"number":104,"title":"v2.0.0","description":null,"creator":{"login":"andrewjtait","id":1668080,"avatar_url":"https://avatars2.githubusercontent.com/u/1668080?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewjtait","html_url":"https://github.com/andrewjtait","followers_url":"https://api.github.com/users/andrewjtait/followers","following_url":"https://api.github.com/users/andrewjtait/following{/other_user}","gists_url":"https://api.github.com/users/andrewjtait/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjtait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjtait/subscriptions","organizations_url":"https://api.github.com/users/andrewjtait/orgs","repos_url":"https://api.github.com/users/andrewjtait/repos","events_url":"https://api.github.com/users/andrewjtait/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjtait/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":6,"state":"open","created_at":"2017-06-19T13:19:50Z","updated_at":"2017-09-12T09:12:36Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Sage/carbon/pulls/1553/commits","review_comments_url":"https://api.github.com/repos/Sage/carbon/pulls/1553/comments","review_comment_url":"https://api.github.com/repos/Sage/carbon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage/carbon/issues/1553/comments","statuses_url":"https://api.github.com/repos/Sage/carbon/statuses/048f59a5f82d22e88f45dc54c2bda50c4519a3e2","head":{"label":"Sage:grouped-state-bug","ref":"grouped-state-bug","sha":"048f59a5f82d22e88f45dc54c2bda50c4519a3e2","user":{"login":"Sage","id":24190,"avatar_url":"https://avatars2.githubusercontent.com/u/24190?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage","html_url":"https://github.com/Sage","followers_url":"https://api.github.com/users/Sage/followers","following_url":"https://api.github.com/users/Sage/following{/other_user}","gists_url":"https://api.github.com/users/Sage/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage/subscriptions","organizations_url":"https://api.github.com/users/Sage/orgs","repos_url":"https://api.github.com/users/Sage/repos","events_url":"https://api.github.com/users/Sage/events{/privacy}","received_events_url":"https://api.github.com/users/Sage/received_events","type":"Organization","site_admin":false},"repo":{"id":41923638,"name":"carbon","full_name":"Sage/carbon","owner":{"login":"Sage","id":24190,"avatar_url":"https://avatars2.githubusercontent.com/u/24190?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage","html_url":"https://github.com/Sage","followers_url":"https://api.github.com/users/Sage/followers","following_url":"https://api.github.com/users/Sage/following{/other_user}","gists_url":"https://api.github.com/users/Sage/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage/subscriptions","organizations_url":"https://api.github.com/users/Sage/orgs","repos_url":"https://api.github.com/users/Sage/repos","events_url":"https://api.github.com/users/Sage/events{/privacy}","received_events_url":"https://api.github.com/users/Sage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage/carbon","description":"Carbon by Sage | ReactJS UI Component Library","fork":false,"url":"https://api.github.com/repos/Sage/carbon","forks_url":"https://api.github.com/repos/Sage/carbon/forks","keys_url":"https://api.github.com/repos/Sage/carbon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage/carbon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage/carbon/teams","hooks_url":"https://api.github.com/repos/Sage/carbon/hooks","issue_events_url":"https://api.github.com/repos/Sage/carbon/issues/events{/number}","events_url":"https://api.github.com/repos/Sage/carbon/events","assignees_url":"https://api.github.com/repos/Sage/carbon/assignees{/user}","branches_url":"https://api.github.com/repos/Sage/carbon/branches{/branch}","tags_url":"https://api.github.com/repos/Sage/carbon/tags","blobs_url":"https://api.github.com/repos/Sage/carbon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage/carbon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage/carbon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage/carbon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage/carbon/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage/carbon/languages","stargazers_url":"https://api.github.com/repos/Sage/carbon/stargazers","contributors_url":"https://api.github.com/repos/Sage/carbon/contributors","subscribers_url":"https://api.github.com/repos/Sage/carbon/subscribers","subscription_url":"https://api.github.com/repos/Sage/carbon/subscription","commits_url":"https://api.github.com/repos/Sage/carbon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage/carbon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage/carbon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage/carbon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage/carbon/contents/{+path}","compare_url":"https://api.github.com/repos/Sage/carbon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage/carbon/merges","archive_url":"https://api.github.com/repos/Sage/carbon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage/carbon/downloads","issues_url":"https://api.github.com/repos/Sage/carbon/issues{/number}","pulls_url":"https://api.github.com/repos/Sage/carbon/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage/carbon/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage/carbon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage/carbon/labels{/name}","releases_url":"https://api.github.com/repos/Sage/carbon/releases{/id}","deployments_url":"https://api.github.com/repos/Sage/carbon/deployments","created_at":"2015-09-04T15:35:11Z","updated_at":"2017-09-10T20:19:54Z","pushed_at":"2017-09-12T09:22:32Z","git_url":"git://github.com/Sage/carbon.git","ssh_url":"git@github.com:Sage/carbon.git","clone_url":"https://github.com/Sage/carbon.git","svn_url":"https://github.com/Sage/carbon","homepage":"https://carbon.sage.com","size":13971,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":96,"forks":7,"open_issues":96,"watchers":37,"default_branch":"master"}},"base":{"label":"Sage:v200-rc1","ref":"v200-rc1","sha":"db238af740b9c17d5aafdb15e4b4c6ae19792b44","user":{"login":"Sage","id":24190,"avatar_url":"https://avatars2.githubusercontent.com/u/24190?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage","html_url":"https://github.com/Sage","followers_url":"https://api.github.com/users/Sage/followers","following_url":"https://api.github.com/users/Sage/following{/other_user}","gists_url":"https://api.github.com/users/Sage/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage/subscriptions","organizations_url":"https://api.github.com/users/Sage/orgs","repos_url":"https://api.github.com/users/Sage/repos","events_url":"https://api.github.com/users/Sage/events{/privacy}","received_events_url":"https://api.github.com/users/Sage/received_events","type":"Organization","site_admin":false},"repo":{"id":41923638,"name":"carbon","full_name":"Sage/carbon","owner":{"login":"Sage","id":24190,"avatar_url":"https://avatars2.githubusercontent.com/u/24190?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage","html_url":"https://github.com/Sage","followers_url":"https://api.github.com/users/Sage/followers","following_url":"https://api.github.com/users/Sage/following{/other_user}","gists_url":"https://api.github.com/users/Sage/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage/subscriptions","organizations_url":"https://api.github.com/users/Sage/orgs","repos_url":"https://api.github.com/users/Sage/repos","events_url":"https://api.github.com/users/Sage/events{/privacy}","received_events_url":"https://api.github.com/users/Sage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage/carbon","description":"Carbon by Sage | ReactJS UI Component Library","fork":false,"url":"https://api.github.com/repos/Sage/carbon","forks_url":"https://api.github.com/repos/Sage/carbon/forks","keys_url":"https://api.github.com/repos/Sage/carbon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage/carbon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage/carbon/teams","hooks_url":"https://api.github.com/repos/Sage/carbon/hooks","issue_events_url":"https://api.github.com/repos/Sage/carbon/issues/events{/number}","events_url":"https://api.github.com/repos/Sage/carbon/events","assignees_url":"https://api.github.com/repos/Sage/carbon/assignees{/user}","branches_url":"https://api.github.com/repos/Sage/carbon/branches{/branch}","tags_url":"https://api.github.com/repos/Sage/carbon/tags","blobs_url":"https://api.github.com/repos/Sage/carbon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage/carbon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage/carbon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage/carbon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage/carbon/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage/carbon/languages","stargazers_url":"https://api.github.com/repos/Sage/carbon/stargazers","contributors_url":"https://api.github.com/repos/Sage/carbon/contributors","subscribers_url":"https://api.github.com/repos/Sage/carbon/subscribers","subscription_url":"https://api.github.com/repos/Sage/carbon/subscription","commits_url":"https://api.github.com/repos/Sage/carbon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage/carbon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage/carbon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage/carbon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage/carbon/contents/{+path}","compare_url":"https://api.github.com/repos/Sage/carbon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage/carbon/merges","archive_url":"https://api.github.com/repos/Sage/carbon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage/carbon/downloads","issues_url":"https://api.github.com/repos/Sage/carbon/issues{/number}","pulls_url":"https://api.github.com/repos/Sage/carbon/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage/carbon/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage/carbon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage/carbon/labels{/name}","releases_url":"https://api.github.com/repos/Sage/carbon/releases{/id}","deployments_url":"https://api.github.com/repos/Sage/carbon/deployments","created_at":"2015-09-04T15:35:11Z","updated_at":"2017-09-10T20:19:54Z","pushed_at":"2017-09-12T09:22:32Z","git_url":"git://github.com/Sage/carbon.git","ssh_url":"git@github.com:Sage/carbon.git","clone_url":"https://github.com/Sage/carbon.git","svn_url":"https://github.com/Sage/carbon","homepage":"https://carbon.sage.com","size":13971,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":96,"forks":7,"open_issues":96,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage/carbon/pulls/1553"},"html":{"href":"https://github.com/Sage/carbon/pull/1553"},"issue":{"href":"https://api.github.com/repos/Sage/carbon/issues/1553"},"comments":{"href":"https://api.github.com/repos/Sage/carbon/issues/1553/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage/carbon/pulls/1553/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage/carbon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage/carbon/pulls/1553/commits"},"statuses":{"href":"https://api.github.com/repos/Sage/carbon/statuses/048f59a5f82d22e88f45dc54c2bda50c4519a3e2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ianoxley"}}