{"action":"created","comment":{"url":"https://api.github.com/repos/Kashoo/synctos/pulls/comments/176885899","pull_request_review_id":106673853,"id":176885899,"diff_hunk":"@@ -264,9 +264,6 @@ function init(rawSyncFunction, syncFunctionFile) {\n   exports.access = testHelperEnvironment.access;\n   exports.role = testHelperEnvironment.role;\n \n-  // A function stub that can be used in document definitions for test cases to verify custom actions\n-  exports.customActionStub = testHelperEnvironment.customActionStub;","path":"src/testing/test-helper.js","position":5,"original_position":5,"commit_id":"18aca9ae1ad5851fd5d3b32e219f288b4259cb11","original_commit_id":"18aca9ae1ad5851fd5d3b32e219f288b4259cb11","user":{"login":"OldSneerJaw","id":5003870,"avatar_url":"https://avatars1.githubusercontent.com/u/5003870?v=4","gravatar_id":"","url":"https://api.github.com/users/OldSneerJaw","html_url":"https://github.com/OldSneerJaw","followers_url":"https://api.github.com/users/OldSneerJaw/followers","following_url":"https://api.github.com/users/OldSneerJaw/following{/other_user}","gists_url":"https://api.github.com/users/OldSneerJaw/gists{/gist_id}","starred_url":"https://api.github.com/users/OldSneerJaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OldSneerJaw/subscriptions","organizations_url":"https://api.github.com/users/OldSneerJaw/orgs","repos_url":"https://api.github.com/users/OldSneerJaw/repos","events_url":"https://api.github.com/users/OldSneerJaw/events{/privacy}","received_events_url":"https://api.github.com/users/OldSneerJaw/received_events","type":"User","site_admin":false},"body":"This was not part of the public API, so it should be safe to remove it.","created_at":"2018-03-23T23:17:11Z","updated_at":"2018-03-23T23:17:11Z","html_url":"https://github.com/Kashoo/synctos/pull/280#discussion_r176885899","pull_request_url":"https://api.github.com/repos/Kashoo/synctos/pulls/280","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/comments/176885899"},"html":{"href":"https://github.com/Kashoo/synctos/pull/280#discussion_r176885899"},"pull_request":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/280"}}},"pull_request":{"url":"https://api.github.com/repos/Kashoo/synctos/pulls/280","id":177203095,"html_url":"https://github.com/Kashoo/synctos/pull/280","diff_url":"https://github.com/Kashoo/synctos/pull/280.diff","patch_url":"https://github.com/Kashoo/synctos/pull/280.patch","issue_url":"https://api.github.com/repos/Kashoo/synctos/issues/280","number":280,"state":"open","locked":false,"title":"Issue 279: Refactor custom action tests","user":{"login":"OldSneerJaw","id":5003870,"avatar_url":"https://avatars1.githubusercontent.com/u/5003870?v=4","gravatar_id":"","url":"https://api.github.com/users/OldSneerJaw","html_url":"https://github.com/OldSneerJaw","followers_url":"https://api.github.com/users/OldSneerJaw/followers","following_url":"https://api.github.com/users/OldSneerJaw/following{/other_user}","gists_url":"https://api.github.com/users/OldSneerJaw/gists{/gist_id}","starred_url":"https://api.github.com/users/OldSneerJaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OldSneerJaw/subscriptions","organizations_url":"https://api.github.com/users/OldSneerJaw/orgs","repos_url":"https://api.github.com/users/OldSneerJaw/repos","events_url":"https://api.github.com/users/OldSneerJaw/events{/privacy}","received_events_url":"https://api.github.com/users/OldSneerJaw/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\nEliminates reliance on the stubbed function (`customActionStub`) that was injected into every test environment to test the custom actions feature. The new approach is more precise about which custom action event was actually executed to generate each piece of metadata that is passed along.\r\n\r\n# Testing\r\n\r\nExecuted the full test suite with `npm test`.\r\n\r\n# Related Issue\r\n\r\n* GitHub issue link: #279\r\n","created_at":"2018-03-23T23:11:31Z","updated_at":"2018-03-23T23:17:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"750b074edb189d78045239d1bd3d8f2cd32d935b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kashoo/synctos/pulls/280/commits","review_comments_url":"https://api.github.com/repos/Kashoo/synctos/pulls/280/comments","review_comment_url":"https://api.github.com/repos/Kashoo/synctos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kashoo/synctos/issues/280/comments","statuses_url":"https://api.github.com/repos/Kashoo/synctos/statuses/18aca9ae1ad5851fd5d3b32e219f288b4259cb11","head":{"label":"Kashoo:issue-279-custom-action-stub","ref":"issue-279-custom-action-stub","sha":"18aca9ae1ad5851fd5d3b32e219f288b4259cb11","user":{"login":"Kashoo","id":989660,"avatar_url":"https://avatars1.githubusercontent.com/u/989660?v=4","gravatar_id":"","url":"https://api.github.com/users/Kashoo","html_url":"https://github.com/Kashoo","followers_url":"https://api.github.com/users/Kashoo/followers","following_url":"https://api.github.com/users/Kashoo/following{/other_user}","gists_url":"https://api.github.com/users/Kashoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Kashoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kashoo/subscriptions","organizations_url":"https://api.github.com/users/Kashoo/orgs","repos_url":"https://api.github.com/users/Kashoo/repos","events_url":"https://api.github.com/users/Kashoo/events{/privacy}","received_events_url":"https://api.github.com/users/Kashoo/received_events","type":"Organization","site_admin":false},"repo":{"id":60386101,"name":"synctos","full_name":"Kashoo/synctos","owner":{"login":"Kashoo","id":989660,"avatar_url":"https://avatars1.githubusercontent.com/u/989660?v=4","gravatar_id":"","url":"https://api.github.com/users/Kashoo","html_url":"https://github.com/Kashoo","followers_url":"https://api.github.com/users/Kashoo/followers","following_url":"https://api.github.com/users/Kashoo/following{/other_user}","gists_url":"https://api.github.com/users/Kashoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Kashoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kashoo/subscriptions","organizations_url":"https://api.github.com/users/Kashoo/orgs","repos_url":"https://api.github.com/users/Kashoo/repos","events_url":"https://api.github.com/users/Kashoo/events{/privacy}","received_events_url":"https://api.github.com/users/Kashoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kashoo/synctos","description":"The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.","fork":false,"url":"https://api.github.com/repos/Kashoo/synctos","forks_url":"https://api.github.com/repos/Kashoo/synctos/forks","keys_url":"https://api.github.com/repos/Kashoo/synctos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kashoo/synctos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kashoo/synctos/teams","hooks_url":"https://api.github.com/repos/Kashoo/synctos/hooks","issue_events_url":"https://api.github.com/repos/Kashoo/synctos/issues/events{/number}","events_url":"https://api.github.com/repos/Kashoo/synctos/events","assignees_url":"https://api.github.com/repos/Kashoo/synctos/assignees{/user}","branches_url":"https://api.github.com/repos/Kashoo/synctos/branches{/branch}","tags_url":"https://api.github.com/repos/Kashoo/synctos/tags","blobs_url":"https://api.github.com/repos/Kashoo/synctos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kashoo/synctos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kashoo/synctos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kashoo/synctos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kashoo/synctos/statuses/{sha}","languages_url":"https://api.github.com/repos/Kashoo/synctos/languages","stargazers_url":"https://api.github.com/repos/Kashoo/synctos/stargazers","contributors_url":"https://api.github.com/repos/Kashoo/synctos/contributors","subscribers_url":"https://api.github.com/repos/Kashoo/synctos/subscribers","subscription_url":"https://api.github.com/repos/Kashoo/synctos/subscription","commits_url":"https://api.github.com/repos/Kashoo/synctos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kashoo/synctos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kashoo/synctos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kashoo/synctos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kashoo/synctos/contents/{+path}","compare_url":"https://api.github.com/repos/Kashoo/synctos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kashoo/synctos/merges","archive_url":"https://api.github.com/repos/Kashoo/synctos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kashoo/synctos/downloads","issues_url":"https://api.github.com/repos/Kashoo/synctos/issues{/number}","pulls_url":"https://api.github.com/repos/Kashoo/synctos/pulls{/number}","milestones_url":"https://api.github.com/repos/Kashoo/synctos/milestones{/number}","notifications_url":"https://api.github.com/repos/Kashoo/synctos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kashoo/synctos/labels{/name}","releases_url":"https://api.github.com/repos/Kashoo/synctos/releases{/id}","deployments_url":"https://api.github.com/repos/Kashoo/synctos/deployments","created_at":"2016-06-04T00:47:39Z","updated_at":"2018-03-23T17:36:04Z","pushed_at":"2018-03-23T23:11:31Z","git_url":"git://github.com/Kashoo/synctos.git","ssh_url":"git@github.com:Kashoo/synctos.git","clone_url":"https://github.com/Kashoo/synctos.git","svn_url":"https://github.com/Kashoo/synctos","homepage":"https://www.npmjs.com/package/synctos","size":1227,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":12,"watchers":32,"default_branch":"master"}},"base":{"label":"Kashoo:master","ref":"master","sha":"f1c342242c24e5c4a6cfa304c49139489b716eb7","user":{"login":"Kashoo","id":989660,"avatar_url":"https://avatars1.githubusercontent.com/u/989660?v=4","gravatar_id":"","url":"https://api.github.com/users/Kashoo","html_url":"https://github.com/Kashoo","followers_url":"https://api.github.com/users/Kashoo/followers","following_url":"https://api.github.com/users/Kashoo/following{/other_user}","gists_url":"https://api.github.com/users/Kashoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Kashoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kashoo/subscriptions","organizations_url":"https://api.github.com/users/Kashoo/orgs","repos_url":"https://api.github.com/users/Kashoo/repos","events_url":"https://api.github.com/users/Kashoo/events{/privacy}","received_events_url":"https://api.github.com/users/Kashoo/received_events","type":"Organization","site_admin":false},"repo":{"id":60386101,"name":"synctos","full_name":"Kashoo/synctos","owner":{"login":"Kashoo","id":989660,"avatar_url":"https://avatars1.githubusercontent.com/u/989660?v=4","gravatar_id":"","url":"https://api.github.com/users/Kashoo","html_url":"https://github.com/Kashoo","followers_url":"https://api.github.com/users/Kashoo/followers","following_url":"https://api.github.com/users/Kashoo/following{/other_user}","gists_url":"https://api.github.com/users/Kashoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Kashoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kashoo/subscriptions","organizations_url":"https://api.github.com/users/Kashoo/orgs","repos_url":"https://api.github.com/users/Kashoo/repos","events_url":"https://api.github.com/users/Kashoo/events{/privacy}","received_events_url":"https://api.github.com/users/Kashoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kashoo/synctos","description":"The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.","fork":false,"url":"https://api.github.com/repos/Kashoo/synctos","forks_url":"https://api.github.com/repos/Kashoo/synctos/forks","keys_url":"https://api.github.com/repos/Kashoo/synctos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kashoo/synctos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kashoo/synctos/teams","hooks_url":"https://api.github.com/repos/Kashoo/synctos/hooks","issue_events_url":"https://api.github.com/repos/Kashoo/synctos/issues/events{/number}","events_url":"https://api.github.com/repos/Kashoo/synctos/events","assignees_url":"https://api.github.com/repos/Kashoo/synctos/assignees{/user}","branches_url":"https://api.github.com/repos/Kashoo/synctos/branches{/branch}","tags_url":"https://api.github.com/repos/Kashoo/synctos/tags","blobs_url":"https://api.github.com/repos/Kashoo/synctos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kashoo/synctos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kashoo/synctos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kashoo/synctos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kashoo/synctos/statuses/{sha}","languages_url":"https://api.github.com/repos/Kashoo/synctos/languages","stargazers_url":"https://api.github.com/repos/Kashoo/synctos/stargazers","contributors_url":"https://api.github.com/repos/Kashoo/synctos/contributors","subscribers_url":"https://api.github.com/repos/Kashoo/synctos/subscribers","subscription_url":"https://api.github.com/repos/Kashoo/synctos/subscription","commits_url":"https://api.github.com/repos/Kashoo/synctos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kashoo/synctos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kashoo/synctos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kashoo/synctos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kashoo/synctos/contents/{+path}","compare_url":"https://api.github.com/repos/Kashoo/synctos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kashoo/synctos/merges","archive_url":"https://api.github.com/repos/Kashoo/synctos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kashoo/synctos/downloads","issues_url":"https://api.github.com/repos/Kashoo/synctos/issues{/number}","pulls_url":"https://api.github.com/repos/Kashoo/synctos/pulls{/number}","milestones_url":"https://api.github.com/repos/Kashoo/synctos/milestones{/number}","notifications_url":"https://api.github.com/repos/Kashoo/synctos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kashoo/synctos/labels{/name}","releases_url":"https://api.github.com/repos/Kashoo/synctos/releases{/id}","deployments_url":"https://api.github.com/repos/Kashoo/synctos/deployments","created_at":"2016-06-04T00:47:39Z","updated_at":"2018-03-23T17:36:04Z","pushed_at":"2018-03-23T23:11:31Z","git_url":"git://github.com/Kashoo/synctos.git","ssh_url":"git@github.com:Kashoo/synctos.git","clone_url":"https://github.com/Kashoo/synctos.git","svn_url":"https://github.com/Kashoo/synctos","homepage":"https://www.npmjs.com/package/synctos","size":1227,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":12,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/280"},"html":{"href":"https://github.com/Kashoo/synctos/pull/280"},"issue":{"href":"https://api.github.com/repos/Kashoo/synctos/issues/280"},"comments":{"href":"https://api.github.com/repos/Kashoo/synctos/issues/280/comments"},"review_comments":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/280/comments"},"review_comment":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kashoo/synctos/pulls/280/commits"},"statuses":{"href":"https://api.github.com/repos/Kashoo/synctos/statuses/18aca9ae1ad5851fd5d3b32e219f288b4259cb11"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"OldSneerJaw"}}