{"action":"created","comment":{"url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/comments/165769422","pull_request_review_id":93767886,"id":165769422,"diff_hunk":"@@ -0,0 +1,22 @@\n+import React from 'react';\n+import { shallow } from 'enzyme';\n+import Radio from './Radio';\n+\n+describe('Radio', () => {\n+  let wrapper;\n+  beforeEach(() => {\n+    wrapper = null;\n+  });\n+\n+  it('should render radio component', () => {\n+    wrapper = shallow(<Radio />);\n+    expect(wrapper.find('.slds-radio').length).toEqual(1);\n+    expect(wrapper.hasClass('slds-radio')).toEqual(true);\n+  });\n+\n+  it('should call handleChange', () => {\n+    const handleChange = jest.fn();\n+    wrapper = shallow(<Radio onChange={handleChange} />);\n+    wrapper.find('.slds-radio').simulate('change');","path":"lib/components/Radio/Radio.test.js","position":20,"original_position":20,"commit_id":"ae0036b90b4c5689ddfd6c8cbba6587900680778","original_commit_id":"ae0036b90b4c5689ddfd6c8cbba6587900680778","user":{"login":"guohonghanusa","id":21347599,"avatar_url":"https://avatars3.githubusercontent.com/u/21347599?v=4","gravatar_id":"","url":"https://api.github.com/users/guohonghanusa","html_url":"https://github.com/guohonghanusa","followers_url":"https://api.github.com/users/guohonghanusa/followers","following_url":"https://api.github.com/users/guohonghanusa/following{/other_user}","gists_url":"https://api.github.com/users/guohonghanusa/gists{/gist_id}","starred_url":"https://api.github.com/users/guohonghanusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guohonghanusa/subscriptions","organizations_url":"https://api.github.com/users/guohonghanusa/orgs","repos_url":"https://api.github.com/users/guohonghanusa/repos","events_url":"https://api.github.com/users/guohonghanusa/events{/privacy}","received_events_url":"https://api.github.com/users/guohonghanusa/received_events","type":"User","site_admin":false},"body":"There should be another line after this line since this line alone does not test the change action.\r\nexpect(handleChange).toHaveBeenCalled();","created_at":"2018-02-02T21:51:07Z","updated_at":"2018-02-02T21:51:07Z","html_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15#discussion_r165769422","pull_request_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/comments/165769422"},"html":{"href":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15#discussion_r165769422"},"pull_request":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15","id":166905708,"html_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15","diff_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15.diff","patch_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15.patch","issue_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/15","number":15,"state":"open","locked":false,"title":"Radio and RadioGroup Components refactoring","user":{"login":"mallik-svmx","id":34659014,"avatar_url":"https://avatars0.githubusercontent.com/u/34659014?v=4","gravatar_id":"","url":"https://api.github.com/users/mallik-svmx","html_url":"https://github.com/mallik-svmx","followers_url":"https://api.github.com/users/mallik-svmx/followers","following_url":"https://api.github.com/users/mallik-svmx/following{/other_user}","gists_url":"https://api.github.com/users/mallik-svmx/gists{/gist_id}","starred_url":"https://api.github.com/users/mallik-svmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallik-svmx/subscriptions","organizations_url":"https://api.github.com/users/mallik-svmx/orgs","repos_url":"https://api.github.com/users/mallik-svmx/repos","events_url":"https://api.github.com/users/mallik-svmx/events{/privacy}","received_events_url":"https://api.github.com/users/mallik-svmx/received_events","type":"User","site_admin":false},"body":"- Updating to match our coding standards\r\n- Split Radio and RadioGroup components\r\n- Adding basic tests and proptype comments","created_at":"2018-02-02T21:19:06Z","updated_at":"2018-02-02T21:51:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95c31a61481c180872306bb8fd9ff183f441c528","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15/commits","review_comments_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15/comments","review_comment_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/15/comments","statuses_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/statuses/ae0036b90b4c5689ddfd6c8cbba6587900680778","head":{"label":"mallik-svmx:UI-434","ref":"UI-434","sha":"ae0036b90b4c5689ddfd6c8cbba6587900680778","user":{"login":"mallik-svmx","id":34659014,"avatar_url":"https://avatars0.githubusercontent.com/u/34659014?v=4","gravatar_id":"","url":"https://api.github.com/users/mallik-svmx","html_url":"https://github.com/mallik-svmx","followers_url":"https://api.github.com/users/mallik-svmx/followers","following_url":"https://api.github.com/users/mallik-svmx/following{/other_user}","gists_url":"https://api.github.com/users/mallik-svmx/gists{/gist_id}","starred_url":"https://api.github.com/users/mallik-svmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallik-svmx/subscriptions","organizations_url":"https://api.github.com/users/mallik-svmx/orgs","repos_url":"https://api.github.com/users/mallik-svmx/repos","events_url":"https://api.github.com/users/mallik-svmx/events{/privacy}","received_events_url":"https://api.github.com/users/mallik-svmx/received_events","type":"User","site_admin":false},"repo":{"id":118046626,"name":"ui-components-lightning","full_name":"mallik-svmx/ui-components-lightning","owner":{"login":"mallik-svmx","id":34659014,"avatar_url":"https://avatars0.githubusercontent.com/u/34659014?v=4","gravatar_id":"","url":"https://api.github.com/users/mallik-svmx","html_url":"https://github.com/mallik-svmx","followers_url":"https://api.github.com/users/mallik-svmx/followers","following_url":"https://api.github.com/users/mallik-svmx/following{/other_user}","gists_url":"https://api.github.com/users/mallik-svmx/gists{/gist_id}","starred_url":"https://api.github.com/users/mallik-svmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallik-svmx/subscriptions","organizations_url":"https://api.github.com/users/mallik-svmx/orgs","repos_url":"https://api.github.com/users/mallik-svmx/repos","events_url":"https://api.github.com/users/mallik-svmx/events{/privacy}","received_events_url":"https://api.github.com/users/mallik-svmx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mallik-svmx/ui-components-lightning","description":"UI 2.0 Lightning NPM repository for all Salesforce Lightning Design System components","fork":true,"url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning","forks_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/forks","keys_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/teams","hooks_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/hooks","issue_events_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/issues/events{/number}","events_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/events","assignees_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/assignees{/user}","branches_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/branches{/branch}","tags_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/tags","blobs_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/git/refs{/sha}","trees_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/statuses/{sha}","languages_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/languages","stargazers_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/stargazers","contributors_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/contributors","subscribers_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/subscribers","subscription_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/subscription","commits_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/commits{/sha}","git_commits_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/git/commits{/sha}","comments_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/comments{/number}","issue_comment_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/issues/comments{/number}","contents_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/contents/{+path}","compare_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/merges","archive_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/downloads","issues_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/issues{/number}","pulls_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/pulls{/number}","milestones_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/milestones{/number}","notifications_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/labels{/name}","releases_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/releases{/id}","deployments_url":"https://api.github.com/repos/mallik-svmx/ui-components-lightning/deployments","created_at":"2018-01-18T22:37:48Z","updated_at":"2018-01-18T22:37:50Z","pushed_at":"2018-02-02T21:17:35Z","git_url":"git://github.com/mallik-svmx/ui-components-lightning.git","ssh_url":"git@github.com:mallik-svmx/ui-components-lightning.git","clone_url":"https://github.com/mallik-svmx/ui-components-lightning.git","svn_url":"https://github.com/mallik-svmx/ui-components-lightning","homepage":"","size":17024,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ServiceMax-Engineering:master","ref":"master","sha":"9a2d178d16b2f31d3c6676b30a615af067fb8cd0","user":{"login":"ServiceMax-Engineering","id":13987655,"avatar_url":"https://avatars0.githubusercontent.com/u/13987655?v=4","gravatar_id":"","url":"https://api.github.com/users/ServiceMax-Engineering","html_url":"https://github.com/ServiceMax-Engineering","followers_url":"https://api.github.com/users/ServiceMax-Engineering/followers","following_url":"https://api.github.com/users/ServiceMax-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/ServiceMax-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/ServiceMax-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ServiceMax-Engineering/subscriptions","organizations_url":"https://api.github.com/users/ServiceMax-Engineering/orgs","repos_url":"https://api.github.com/users/ServiceMax-Engineering/repos","events_url":"https://api.github.com/users/ServiceMax-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/ServiceMax-Engineering/received_events","type":"Organization","site_admin":false},"repo":{"id":117293842,"name":"ui-components-lightning","full_name":"ServiceMax-Engineering/ui-components-lightning","owner":{"login":"ServiceMax-Engineering","id":13987655,"avatar_url":"https://avatars0.githubusercontent.com/u/13987655?v=4","gravatar_id":"","url":"https://api.github.com/users/ServiceMax-Engineering","html_url":"https://github.com/ServiceMax-Engineering","followers_url":"https://api.github.com/users/ServiceMax-Engineering/followers","following_url":"https://api.github.com/users/ServiceMax-Engineering/following{/other_user}","gists_url":"https://api.github.com/users/ServiceMax-Engineering/gists{/gist_id}","starred_url":"https://api.github.com/users/ServiceMax-Engineering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ServiceMax-Engineering/subscriptions","organizations_url":"https://api.github.com/users/ServiceMax-Engineering/orgs","repos_url":"https://api.github.com/users/ServiceMax-Engineering/repos","events_url":"https://api.github.com/users/ServiceMax-Engineering/events{/privacy}","received_events_url":"https://api.github.com/users/ServiceMax-Engineering/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning","description":"UI 2.0 Lightning NPM repository for all Salesforce Lightning Design System components","fork":true,"url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning","forks_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/forks","keys_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/teams","hooks_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/hooks","issue_events_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/events{/number}","events_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/events","assignees_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/assignees{/user}","branches_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/branches{/branch}","tags_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/tags","blobs_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/git/refs{/sha}","trees_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/statuses/{sha}","languages_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/languages","stargazers_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/stargazers","contributors_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/contributors","subscribers_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/subscribers","subscription_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/subscription","commits_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/commits{/sha}","git_commits_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/git/commits{/sha}","comments_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/comments{/number}","issue_comment_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/comments{/number}","contents_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/contents/{+path}","compare_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/merges","archive_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/downloads","issues_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues{/number}","pulls_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls{/number}","milestones_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/milestones{/number}","notifications_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/labels{/name}","releases_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/releases{/id}","deployments_url":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/deployments","created_at":"2018-01-12T22:28:07Z","updated_at":"2018-01-19T17:49:02Z","pushed_at":"2018-02-02T21:19:07Z","git_url":"git://github.com/ServiceMax-Engineering/ui-components-lightning.git","ssh_url":"git@github.com:ServiceMax-Engineering/ui-components-lightning.git","clone_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning.git","svn_url":"https://github.com/ServiceMax-Engineering/ui-components-lightning","homepage":"","size":17020,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":4,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15"},"html":{"href":"https://github.com/ServiceMax-Engineering/ui-components-lightning/pull/15"},"issue":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/15"},"comments":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/ServiceMax-Engineering/ui-components-lightning/statuses/ae0036b90b4c5689ddfd6c8cbba6587900680778"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"guohonghanusa"}}