{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/Becklyn/mojave/pulls/30","id":130179487,"html_url":"https://github.com/Becklyn/mojave/pull/30","diff_url":"https://github.com/Becklyn/mojave/pull/30.diff","patch_url":"https://github.com/Becklyn/mojave/pull/30.patch","issue_url":"https://api.github.com/repos/Becklyn/mojave/issues/30","number":30,"state":"open","locked":false,"title":"add replace() unit tests","user":{"login":"SgtSahnig","id":22484446,"avatar_url":"https://avatars0.githubusercontent.com/u/22484446?v=3","gravatar_id":"","url":"https://api.github.com/users/SgtSahnig","html_url":"https://github.com/SgtSahnig","followers_url":"https://api.github.com/users/SgtSahnig/followers","following_url":"https://api.github.com/users/SgtSahnig/following{/other_user}","gists_url":"https://api.github.com/users/SgtSahnig/gists{/gist_id}","starred_url":"https://api.github.com/users/SgtSahnig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SgtSahnig/subscriptions","organizations_url":"https://api.github.com/users/SgtSahnig/orgs","repos_url":"https://api.github.com/users/SgtSahnig/repos","events_url":"https://api.github.com/users/SgtSahnig/events{/privacy}","received_events_url":"https://api.github.com/users/SgtSahnig/received_events","type":"User","site_admin":false},"body":"## Unit tests\r\n\r\nThe following tests are being created by this branch:\r\n\r\nreplace() with valid node elements\r\nreplace() with an query string as an reference\r\nreplace() with an invalid reference\r\nreplace() with a html string as an replacement\r\n\r\n\r\n## Expected result\r\n\r\n- It is expected that the replace()-function simply replaces the reference with the replacement element.\r\n\r\n- The replace()-function should also check if the reference or the replacement is valid and throw an error if this is not the case.\r\n\r\n## Current result\r\n\r\nAll tests ran successfully.\r\n","created_at":"2017-07-12T16:14:34Z","updated_at":"2017-07-12T16:14:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Becklyn/mojave/pulls/30/commits","review_comments_url":"https://api.github.com/repos/Becklyn/mojave/pulls/30/comments","review_comment_url":"https://api.github.com/repos/Becklyn/mojave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Becklyn/mojave/issues/30/comments","statuses_url":"https://api.github.com/repos/Becklyn/mojave/statuses/92071f7a34762fa510a295e47ae75c7966804170","head":{"label":"SgtSahnig:manipulate-replace-tests","ref":"manipulate-replace-tests","sha":"92071f7a34762fa510a295e47ae75c7966804170","user":{"login":"SgtSahnig","id":22484446,"avatar_url":"https://avatars0.githubusercontent.com/u/22484446?v=3","gravatar_id":"","url":"https://api.github.com/users/SgtSahnig","html_url":"https://github.com/SgtSahnig","followers_url":"https://api.github.com/users/SgtSahnig/followers","following_url":"https://api.github.com/users/SgtSahnig/following{/other_user}","gists_url":"https://api.github.com/users/SgtSahnig/gists{/gist_id}","starred_url":"https://api.github.com/users/SgtSahnig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SgtSahnig/subscriptions","organizations_url":"https://api.github.com/users/SgtSahnig/orgs","repos_url":"https://api.github.com/users/SgtSahnig/repos","events_url":"https://api.github.com/users/SgtSahnig/events{/privacy}","received_events_url":"https://api.github.com/users/SgtSahnig/received_events","type":"User","site_admin":false},"repo":{"id":96230961,"name":"mojave","full_name":"SgtSahnig/mojave","owner":{"login":"SgtSahnig","id":22484446,"avatar_url":"https://avatars0.githubusercontent.com/u/22484446?v=3","gravatar_id":"","url":"https://api.github.com/users/SgtSahnig","html_url":"https://github.com/SgtSahnig","followers_url":"https://api.github.com/users/SgtSahnig/followers","following_url":"https://api.github.com/users/SgtSahnig/following{/other_user}","gists_url":"https://api.github.com/users/SgtSahnig/gists{/gist_id}","starred_url":"https://api.github.com/users/SgtSahnig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SgtSahnig/subscriptions","organizations_url":"https://api.github.com/users/SgtSahnig/orgs","repos_url":"https://api.github.com/users/SgtSahnig/repos","events_url":"https://api.github.com/users/SgtSahnig/events{/privacy}","received_events_url":"https://api.github.com/users/SgtSahnig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SgtSahnig/mojave","description":"A library of commonly used JavaScript tools and helpers by Becklyn","fork":true,"url":"https://api.github.com/repos/SgtSahnig/mojave","forks_url":"https://api.github.com/repos/SgtSahnig/mojave/forks","keys_url":"https://api.github.com/repos/SgtSahnig/mojave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SgtSahnig/mojave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SgtSahnig/mojave/teams","hooks_url":"https://api.github.com/repos/SgtSahnig/mojave/hooks","issue_events_url":"https://api.github.com/repos/SgtSahnig/mojave/issues/events{/number}","events_url":"https://api.github.com/repos/SgtSahnig/mojave/events","assignees_url":"https://api.github.com/repos/SgtSahnig/mojave/assignees{/user}","branches_url":"https://api.github.com/repos/SgtSahnig/mojave/branches{/branch}","tags_url":"https://api.github.com/repos/SgtSahnig/mojave/tags","blobs_url":"https://api.github.com/repos/SgtSahnig/mojave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SgtSahnig/mojave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SgtSahnig/mojave/git/refs{/sha}","trees_url":"https://api.github.com/repos/SgtSahnig/mojave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SgtSahnig/mojave/statuses/{sha}","languages_url":"https://api.github.com/repos/SgtSahnig/mojave/languages","stargazers_url":"https://api.github.com/repos/SgtSahnig/mojave/stargazers","contributors_url":"https://api.github.com/repos/SgtSahnig/mojave/contributors","subscribers_url":"https://api.github.com/repos/SgtSahnig/mojave/subscribers","subscription_url":"https://api.github.com/repos/SgtSahnig/mojave/subscription","commits_url":"https://api.github.com/repos/SgtSahnig/mojave/commits{/sha}","git_commits_url":"https://api.github.com/repos/SgtSahnig/mojave/git/commits{/sha}","comments_url":"https://api.github.com/repos/SgtSahnig/mojave/comments{/number}","issue_comment_url":"https://api.github.com/repos/SgtSahnig/mojave/issues/comments{/number}","contents_url":"https://api.github.com/repos/SgtSahnig/mojave/contents/{+path}","compare_url":"https://api.github.com/repos/SgtSahnig/mojave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SgtSahnig/mojave/merges","archive_url":"https://api.github.com/repos/SgtSahnig/mojave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SgtSahnig/mojave/downloads","issues_url":"https://api.github.com/repos/SgtSahnig/mojave/issues{/number}","pulls_url":"https://api.github.com/repos/SgtSahnig/mojave/pulls{/number}","milestones_url":"https://api.github.com/repos/SgtSahnig/mojave/milestones{/number}","notifications_url":"https://api.github.com/repos/SgtSahnig/mojave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SgtSahnig/mojave/labels{/name}","releases_url":"https://api.github.com/repos/SgtSahnig/mojave/releases{/id}","deployments_url":"https://api.github.com/repos/SgtSahnig/mojave/deployments","created_at":"2017-07-04T15:17:53Z","updated_at":"2017-07-04T15:17:54Z","pushed_at":"2017-07-12T15:53:31Z","git_url":"git://github.com/SgtSahnig/mojave.git","ssh_url":"git@github.com:SgtSahnig/mojave.git","clone_url":"https://github.com/SgtSahnig/mojave.git","svn_url":"https://github.com/SgtSahnig/mojave","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"Becklyn:master","ref":"master","sha":"e44539575081ba99c178da83701dbcc45a70b9f6","user":{"login":"Becklyn","id":1044355,"avatar_url":"https://avatars0.githubusercontent.com/u/1044355?v=3","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"repo":{"id":36447036,"name":"mojave","full_name":"Becklyn/mojave","owner":{"login":"Becklyn","id":1044355,"avatar_url":"https://avatars0.githubusercontent.com/u/1044355?v=3","gravatar_id":"","url":"https://api.github.com/users/Becklyn","html_url":"https://github.com/Becklyn","followers_url":"https://api.github.com/users/Becklyn/followers","following_url":"https://api.github.com/users/Becklyn/following{/other_user}","gists_url":"https://api.github.com/users/Becklyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Becklyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Becklyn/subscriptions","organizations_url":"https://api.github.com/users/Becklyn/orgs","repos_url":"https://api.github.com/users/Becklyn/repos","events_url":"https://api.github.com/users/Becklyn/events{/privacy}","received_events_url":"https://api.github.com/users/Becklyn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Becklyn/mojave","description":"A library of commonly used JavaScript tools and helpers by Becklyn","fork":false,"url":"https://api.github.com/repos/Becklyn/mojave","forks_url":"https://api.github.com/repos/Becklyn/mojave/forks","keys_url":"https://api.github.com/repos/Becklyn/mojave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Becklyn/mojave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Becklyn/mojave/teams","hooks_url":"https://api.github.com/repos/Becklyn/mojave/hooks","issue_events_url":"https://api.github.com/repos/Becklyn/mojave/issues/events{/number}","events_url":"https://api.github.com/repos/Becklyn/mojave/events","assignees_url":"https://api.github.com/repos/Becklyn/mojave/assignees{/user}","branches_url":"https://api.github.com/repos/Becklyn/mojave/branches{/branch}","tags_url":"https://api.github.com/repos/Becklyn/mojave/tags","blobs_url":"https://api.github.com/repos/Becklyn/mojave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Becklyn/mojave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Becklyn/mojave/git/refs{/sha}","trees_url":"https://api.github.com/repos/Becklyn/mojave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Becklyn/mojave/statuses/{sha}","languages_url":"https://api.github.com/repos/Becklyn/mojave/languages","stargazers_url":"https://api.github.com/repos/Becklyn/mojave/stargazers","contributors_url":"https://api.github.com/repos/Becklyn/mojave/contributors","subscribers_url":"https://api.github.com/repos/Becklyn/mojave/subscribers","subscription_url":"https://api.github.com/repos/Becklyn/mojave/subscription","commits_url":"https://api.github.com/repos/Becklyn/mojave/commits{/sha}","git_commits_url":"https://api.github.com/repos/Becklyn/mojave/git/commits{/sha}","comments_url":"https://api.github.com/repos/Becklyn/mojave/comments{/number}","issue_comment_url":"https://api.github.com/repos/Becklyn/mojave/issues/comments{/number}","contents_url":"https://api.github.com/repos/Becklyn/mojave/contents/{+path}","compare_url":"https://api.github.com/repos/Becklyn/mojave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Becklyn/mojave/merges","archive_url":"https://api.github.com/repos/Becklyn/mojave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Becklyn/mojave/downloads","issues_url":"https://api.github.com/repos/Becklyn/mojave/issues{/number}","pulls_url":"https://api.github.com/repos/Becklyn/mojave/pulls{/number}","milestones_url":"https://api.github.com/repos/Becklyn/mojave/milestones{/number}","notifications_url":"https://api.github.com/repos/Becklyn/mojave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Becklyn/mojave/labels{/name}","releases_url":"https://api.github.com/repos/Becklyn/mojave/releases{/id}","deployments_url":"https://api.github.com/repos/Becklyn/mojave/deployments","created_at":"2015-05-28T15:14:03Z","updated_at":"2017-06-30T08:07:42Z","pushed_at":"2017-07-12T16:01:06Z","git_url":"git://github.com/Becklyn/mojave.git","ssh_url":"git@github.com:Becklyn/mojave.git","clone_url":"https://github.com/Becklyn/mojave.git","svn_url":"https://github.com/Becklyn/mojave","homepage":null,"size":129,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":19,"forks":4,"open_issues":19,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/30"},"html":{"href":"https://github.com/Becklyn/mojave/pull/30"},"issue":{"href":"https://api.github.com/repos/Becklyn/mojave/issues/30"},"comments":{"href":"https://api.github.com/repos/Becklyn/mojave/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Becklyn/mojave/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/Becklyn/mojave/statuses/92071f7a34762fa510a295e47ae75c7966804170"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":77,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"SgtSahnig"}}