{"action":"created","comment":{"url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/comments/69486695","id":69486695,"diff_hunk":"@@ -122,6 +122,24 @@ test(\"should not have a default arrow that will point to selected dom class if a\n \tassert.end();\n });\n \n+test(\"should call render custom react component provided as arrow property\", (assert) => {\n+\tconst component = <Tour {...props} step={3} arrow={<span className=\"my-custom-arrow\"/>}/>\n+\tconst result = renderComponent(component);\n+\tassert.throws(() => throwNoClass(result, \"react-user-tour-arrow\"));\n+\tassert.ok(TestUtils.findRenderedDOMComponentWithClass(result, \"my-custom-arrow\"), \"arrow exists\");\n+\tReactDOM.unmountComponentAtNode(node);\n+\tassert.end();\n+});\n+\n+test(\"should call function provided as arrow property and render element returned by it\", (assert) => {","path":"test/index.js","position":13,"original_position":13,"commit_id":"c694ee9dfcd92199350a6c90cd0ab7e3c111bc4e","original_commit_id":"c694ee9dfcd92199350a6c90cd0ab7e3c111bc4e","user":{"login":"conorhastings","id":8263298,"avatar_url":"https://avatars.githubusercontent.com/u/8263298?v=3","gravatar_id":"","url":"https://api.github.com/users/conorhastings","html_url":"https://github.com/conorhastings","followers_url":"https://api.github.com/users/conorhastings/followers","following_url":"https://api.github.com/users/conorhastings/following{/other_user}","gists_url":"https://api.github.com/users/conorhastings/gists{/gist_id}","starred_url":"https://api.github.com/users/conorhastings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conorhastings/subscriptions","organizations_url":"https://api.github.com/users/conorhastings/orgs","repos_url":"https://api.github.com/users/conorhastings/repos","events_url":"https://api.github.com/users/conorhastings/events{/privacy}","received_events_url":"https://api.github.com/users/conorhastings/received_events","type":"User","site_admin":false},"body":"👍 thanks for adding tests","created_at":"2016-07-04T19:20:02Z","updated_at":"2016-07-04T19:20:02Z","html_url":"https://github.com/socialtables/react-user-tour/pull/24#discussion_r69486695","pull_request_url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/comments/69486695"},"html":{"href":"https://github.com/socialtables/react-user-tour/pull/24#discussion_r69486695"},"pull_request":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24","id":76159041,"html_url":"https://github.com/socialtables/react-user-tour/pull/24","diff_url":"https://github.com/socialtables/react-user-tour/pull/24.diff","patch_url":"https://github.com/socialtables/react-user-tour/pull/24.patch","issue_url":"https://api.github.com/repos/socialtables/react-user-tour/issues/24","number":24,"state":"open","locked":false,"title":"Add support for custom arrow as function and per step offsets","user":{"login":"erykpiast","id":1434406,"avatar_url":"https://avatars.githubusercontent.com/u/1434406?v=3","gravatar_id":"","url":"https://api.github.com/users/erykpiast","html_url":"https://github.com/erykpiast","followers_url":"https://api.github.com/users/erykpiast/followers","following_url":"https://api.github.com/users/erykpiast/following{/other_user}","gists_url":"https://api.github.com/users/erykpiast/gists{/gist_id}","starred_url":"https://api.github.com/users/erykpiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erykpiast/subscriptions","organizations_url":"https://api.github.com/users/erykpiast/orgs","repos_url":"https://api.github.com/users/erykpiast/repos","events_url":"https://api.github.com/users/erykpiast/events{/privacy}","received_events_url":"https://api.github.com/users/erykpiast/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-04T12:49:26Z","updated_at":"2016-07-04T19:20:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a6ca634403a3d98b6eb148e1d05742e10ccc7e3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24/commits","review_comments_url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24/comments","review_comment_url":"https://api.github.com/repos/socialtables/react-user-tour/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socialtables/react-user-tour/issues/24/comments","statuses_url":"https://api.github.com/repos/socialtables/react-user-tour/statuses/c694ee9dfcd92199350a6c90cd0ab7e3c111bc4e","head":{"label":"erykpiast:master","ref":"master","sha":"c694ee9dfcd92199350a6c90cd0ab7e3c111bc4e","user":{"login":"erykpiast","id":1434406,"avatar_url":"https://avatars.githubusercontent.com/u/1434406?v=3","gravatar_id":"","url":"https://api.github.com/users/erykpiast","html_url":"https://github.com/erykpiast","followers_url":"https://api.github.com/users/erykpiast/followers","following_url":"https://api.github.com/users/erykpiast/following{/other_user}","gists_url":"https://api.github.com/users/erykpiast/gists{/gist_id}","starred_url":"https://api.github.com/users/erykpiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erykpiast/subscriptions","organizations_url":"https://api.github.com/users/erykpiast/orgs","repos_url":"https://api.github.com/users/erykpiast/repos","events_url":"https://api.github.com/users/erykpiast/events{/privacy}","received_events_url":"https://api.github.com/users/erykpiast/received_events","type":"User","site_admin":false},"repo":{"id":62560212,"name":"react-user-tour","full_name":"erykpiast/react-user-tour","owner":{"login":"erykpiast","id":1434406,"avatar_url":"https://avatars.githubusercontent.com/u/1434406?v=3","gravatar_id":"","url":"https://api.github.com/users/erykpiast","html_url":"https://github.com/erykpiast","followers_url":"https://api.github.com/users/erykpiast/followers","following_url":"https://api.github.com/users/erykpiast/following{/other_user}","gists_url":"https://api.github.com/users/erykpiast/gists{/gist_id}","starred_url":"https://api.github.com/users/erykpiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erykpiast/subscriptions","organizations_url":"https://api.github.com/users/erykpiast/orgs","repos_url":"https://api.github.com/users/erykpiast/repos","events_url":"https://api.github.com/users/erykpiast/events{/privacy}","received_events_url":"https://api.github.com/users/erykpiast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erykpiast/react-user-tour","description":"give your user a guided tour around your application","fork":true,"url":"https://api.github.com/repos/erykpiast/react-user-tour","forks_url":"https://api.github.com/repos/erykpiast/react-user-tour/forks","keys_url":"https://api.github.com/repos/erykpiast/react-user-tour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erykpiast/react-user-tour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erykpiast/react-user-tour/teams","hooks_url":"https://api.github.com/repos/erykpiast/react-user-tour/hooks","issue_events_url":"https://api.github.com/repos/erykpiast/react-user-tour/issues/events{/number}","events_url":"https://api.github.com/repos/erykpiast/react-user-tour/events","assignees_url":"https://api.github.com/repos/erykpiast/react-user-tour/assignees{/user}","branches_url":"https://api.github.com/repos/erykpiast/react-user-tour/branches{/branch}","tags_url":"https://api.github.com/repos/erykpiast/react-user-tour/tags","blobs_url":"https://api.github.com/repos/erykpiast/react-user-tour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erykpiast/react-user-tour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erykpiast/react-user-tour/git/refs{/sha}","trees_url":"https://api.github.com/repos/erykpiast/react-user-tour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erykpiast/react-user-tour/statuses/{sha}","languages_url":"https://api.github.com/repos/erykpiast/react-user-tour/languages","stargazers_url":"https://api.github.com/repos/erykpiast/react-user-tour/stargazers","contributors_url":"https://api.github.com/repos/erykpiast/react-user-tour/contributors","subscribers_url":"https://api.github.com/repos/erykpiast/react-user-tour/subscribers","subscription_url":"https://api.github.com/repos/erykpiast/react-user-tour/subscription","commits_url":"https://api.github.com/repos/erykpiast/react-user-tour/commits{/sha}","git_commits_url":"https://api.github.com/repos/erykpiast/react-user-tour/git/commits{/sha}","comments_url":"https://api.github.com/repos/erykpiast/react-user-tour/comments{/number}","issue_comment_url":"https://api.github.com/repos/erykpiast/react-user-tour/issues/comments{/number}","contents_url":"https://api.github.com/repos/erykpiast/react-user-tour/contents/{+path}","compare_url":"https://api.github.com/repos/erykpiast/react-user-tour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erykpiast/react-user-tour/merges","archive_url":"https://api.github.com/repos/erykpiast/react-user-tour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erykpiast/react-user-tour/downloads","issues_url":"https://api.github.com/repos/erykpiast/react-user-tour/issues{/number}","pulls_url":"https://api.github.com/repos/erykpiast/react-user-tour/pulls{/number}","milestones_url":"https://api.github.com/repos/erykpiast/react-user-tour/milestones{/number}","notifications_url":"https://api.github.com/repos/erykpiast/react-user-tour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erykpiast/react-user-tour/labels{/name}","releases_url":"https://api.github.com/repos/erykpiast/react-user-tour/releases{/id}","deployments_url":"https://api.github.com/repos/erykpiast/react-user-tour/deployments","created_at":"2016-07-04T12:23:46Z","updated_at":"2016-07-04T12:52:22Z","pushed_at":"2016-07-04T18:09:48Z","git_url":"git://github.com/erykpiast/react-user-tour.git","ssh_url":"git@github.com:erykpiast/react-user-tour.git","clone_url":"https://github.com/erykpiast/react-user-tour.git","svn_url":"https://github.com/erykpiast/react-user-tour","homepage":null,"size":375,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"socialtables:master","ref":"master","sha":"b2dbcdf59ff0869a8b05cedb81abf545dc36ad9e","user":{"login":"socialtables","id":1447804,"avatar_url":"https://avatars.githubusercontent.com/u/1447804?v=3","gravatar_id":"","url":"https://api.github.com/users/socialtables","html_url":"https://github.com/socialtables","followers_url":"https://api.github.com/users/socialtables/followers","following_url":"https://api.github.com/users/socialtables/following{/other_user}","gists_url":"https://api.github.com/users/socialtables/gists{/gist_id}","starred_url":"https://api.github.com/users/socialtables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialtables/subscriptions","organizations_url":"https://api.github.com/users/socialtables/orgs","repos_url":"https://api.github.com/users/socialtables/repos","events_url":"https://api.github.com/users/socialtables/events{/privacy}","received_events_url":"https://api.github.com/users/socialtables/received_events","type":"Organization","site_admin":false},"repo":{"id":45065691,"name":"react-user-tour","full_name":"socialtables/react-user-tour","owner":{"login":"socialtables","id":1447804,"avatar_url":"https://avatars.githubusercontent.com/u/1447804?v=3","gravatar_id":"","url":"https://api.github.com/users/socialtables","html_url":"https://github.com/socialtables","followers_url":"https://api.github.com/users/socialtables/followers","following_url":"https://api.github.com/users/socialtables/following{/other_user}","gists_url":"https://api.github.com/users/socialtables/gists{/gist_id}","starred_url":"https://api.github.com/users/socialtables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialtables/subscriptions","organizations_url":"https://api.github.com/users/socialtables/orgs","repos_url":"https://api.github.com/users/socialtables/repos","events_url":"https://api.github.com/users/socialtables/events{/privacy}","received_events_url":"https://api.github.com/users/socialtables/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socialtables/react-user-tour","description":"give your user a guided tour around your application","fork":false,"url":"https://api.github.com/repos/socialtables/react-user-tour","forks_url":"https://api.github.com/repos/socialtables/react-user-tour/forks","keys_url":"https://api.github.com/repos/socialtables/react-user-tour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socialtables/react-user-tour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socialtables/react-user-tour/teams","hooks_url":"https://api.github.com/repos/socialtables/react-user-tour/hooks","issue_events_url":"https://api.github.com/repos/socialtables/react-user-tour/issues/events{/number}","events_url":"https://api.github.com/repos/socialtables/react-user-tour/events","assignees_url":"https://api.github.com/repos/socialtables/react-user-tour/assignees{/user}","branches_url":"https://api.github.com/repos/socialtables/react-user-tour/branches{/branch}","tags_url":"https://api.github.com/repos/socialtables/react-user-tour/tags","blobs_url":"https://api.github.com/repos/socialtables/react-user-tour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socialtables/react-user-tour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socialtables/react-user-tour/git/refs{/sha}","trees_url":"https://api.github.com/repos/socialtables/react-user-tour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socialtables/react-user-tour/statuses/{sha}","languages_url":"https://api.github.com/repos/socialtables/react-user-tour/languages","stargazers_url":"https://api.github.com/repos/socialtables/react-user-tour/stargazers","contributors_url":"https://api.github.com/repos/socialtables/react-user-tour/contributors","subscribers_url":"https://api.github.com/repos/socialtables/react-user-tour/subscribers","subscription_url":"https://api.github.com/repos/socialtables/react-user-tour/subscription","commits_url":"https://api.github.com/repos/socialtables/react-user-tour/commits{/sha}","git_commits_url":"https://api.github.com/repos/socialtables/react-user-tour/git/commits{/sha}","comments_url":"https://api.github.com/repos/socialtables/react-user-tour/comments{/number}","issue_comment_url":"https://api.github.com/repos/socialtables/react-user-tour/issues/comments{/number}","contents_url":"https://api.github.com/repos/socialtables/react-user-tour/contents/{+path}","compare_url":"https://api.github.com/repos/socialtables/react-user-tour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socialtables/react-user-tour/merges","archive_url":"https://api.github.com/repos/socialtables/react-user-tour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socialtables/react-user-tour/downloads","issues_url":"https://api.github.com/repos/socialtables/react-user-tour/issues{/number}","pulls_url":"https://api.github.com/repos/socialtables/react-user-tour/pulls{/number}","milestones_url":"https://api.github.com/repos/socialtables/react-user-tour/milestones{/number}","notifications_url":"https://api.github.com/repos/socialtables/react-user-tour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socialtables/react-user-tour/labels{/name}","releases_url":"https://api.github.com/repos/socialtables/react-user-tour/releases{/id}","deployments_url":"https://api.github.com/repos/socialtables/react-user-tour/deployments","created_at":"2015-10-27T19:45:21Z","updated_at":"2016-07-04T12:52:25Z","pushed_at":"2016-07-04T18:09:48Z","git_url":"git://github.com/socialtables/react-user-tour.git","ssh_url":"git@github.com:socialtables/react-user-tour.git","clone_url":"https://github.com/socialtables/react-user-tour.git","svn_url":"https://github.com/socialtables/react-user-tour","homepage":null,"size":369,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24"},"html":{"href":"https://github.com/socialtables/react-user-tour/pull/24"},"issue":{"href":"https://api.github.com/repos/socialtables/react-user-tour/issues/24"},"comments":{"href":"https://api.github.com/repos/socialtables/react-user-tour/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socialtables/react-user-tour/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/socialtables/react-user-tour/statuses/c694ee9dfcd92199350a6c90cd0ab7e3c111bc4e"}}}}
{"actor":{"display_login":"conorhastings"}}