{"action":"created","comment":{"url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/comments/217596935","pull_request_review_id":155347976,"id":217596935,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzU5NjkzNQ==","diff_hunk":"@@ -0,0 +1,3 @@\n+module.exports = {\n+  target: 'webworker'\n+};","path":"webpack.config.js","position":3,"original_position":3,"commit_id":"3a949486501ad6a285bb9e92b4ba135a56bbf498","original_commit_id":"3a949486501ad6a285bb9e92b4ba135a56bbf498","user":{"login":"yoshdog","id":5410975,"node_id":"MDQ6VXNlcjU0MTA5NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/5410975?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshdog","html_url":"https://github.com/yoshdog","followers_url":"https://api.github.com/users/yoshdog/followers","following_url":"https://api.github.com/users/yoshdog/following{/other_user}","gists_url":"https://api.github.com/users/yoshdog/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshdog/subscriptions","organizations_url":"https://api.github.com/users/yoshdog/orgs","repos_url":"https://api.github.com/users/yoshdog/repos","events_url":"https://api.github.com/users/yoshdog/events{/privacy}","received_events_url":"https://api.github.com/users/yoshdog/received_events","type":"User","site_admin":false},"body":"oh i see... your using webpack to build it for a webworker environment","created_at":"2018-09-14T04:15:34Z","updated_at":"2018-09-14T04:15:34Z","html_url":"https://github.com/envato/cloudflare-worker-test-harness/pull/1#discussion_r217596935","pull_request_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/comments/217596935"},"html":{"href":"https://github.com/envato/cloudflare-worker-test-harness/pull/1#discussion_r217596935"},"pull_request":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1","id":215450179,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NDUwMTc5","html_url":"https://github.com/envato/cloudflare-worker-test-harness/pull/1","diff_url":"https://github.com/envato/cloudflare-worker-test-harness/pull/1.diff","patch_url":"https://github.com/envato/cloudflare-worker-test-harness/pull/1.patch","issue_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/1","number":1,"state":"open","locked":false,"title":"Create an initial cut of the `cloudflare-worker-test-harness`","user":{"login":"jacobbednarz","id":283234,"node_id":"MDQ6VXNlcjI4MzIzNA==","avatar_url":"https://avatars2.githubusercontent.com/u/283234?v=4","gravatar_id":"","url":"https://api.github.com/users/jacobbednarz","html_url":"https://github.com/jacobbednarz","followers_url":"https://api.github.com/users/jacobbednarz/followers","following_url":"https://api.github.com/users/jacobbednarz/following{/other_user}","gists_url":"https://api.github.com/users/jacobbednarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobbednarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobbednarz/subscriptions","organizations_url":"https://api.github.com/users/jacobbednarz/orgs","repos_url":"https://api.github.com/users/jacobbednarz/repos","events_url":"https://api.github.com/users/jacobbednarz/events{/privacy}","received_events_url":"https://api.github.com/users/jacobbednarz/received_events","type":"User","site_admin":false},"body":"This implements a simple test harness that we can use throughout our\r\nprojects for a consistent and repeatable test experience for Cloudflare\r\nWorkers.\r\n\r\nThe intention of this is that we emulate the runtime as close as what is\r\navailable in Cloudflare to identify any regressions early without\r\nneeding the console environment.\r\n\r\nOnce we merge this, I'll look to publish this to `npm` so that we don't\r\nneed to use the git URL.\r\n\r\n### To do\r\n\r\n- [x] Get `cf` onto `Request`\r\n- [x] Add usage examples\r\n- [ ] Trim down available APIs to those available in workers","created_at":"2018-09-14T00:18:33Z","updated_at":"2018-09-14T04:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bfba35c819ad7d07123c878c714bb78493c2a8c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gbakernet","id":201552,"node_id":"MDQ6VXNlcjIwMTU1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/201552?v=4","gravatar_id":"","url":"https://api.github.com/users/gbakernet","html_url":"https://github.com/gbakernet","followers_url":"https://api.github.com/users/gbakernet/followers","following_url":"https://api.github.com/users/gbakernet/following{/other_user}","gists_url":"https://api.github.com/users/gbakernet/gists{/gist_id}","starred_url":"https://api.github.com/users/gbakernet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbakernet/subscriptions","organizations_url":"https://api.github.com/users/gbakernet/orgs","repos_url":"https://api.github.com/users/gbakernet/repos","events_url":"https://api.github.com/users/gbakernet/events{/privacy}","received_events_url":"https://api.github.com/users/gbakernet/received_events","type":"User","site_admin":false},{"login":"petervandoros","id":8585218,"node_id":"MDQ6VXNlcjg1ODUyMTg=","avatar_url":"https://avatars3.githubusercontent.com/u/8585218?v=4","gravatar_id":"","url":"https://api.github.com/users/petervandoros","html_url":"https://github.com/petervandoros","followers_url":"https://api.github.com/users/petervandoros/followers","following_url":"https://api.github.com/users/petervandoros/following{/other_user}","gists_url":"https://api.github.com/users/petervandoros/gists{/gist_id}","starred_url":"https://api.github.com/users/petervandoros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervandoros/subscriptions","organizations_url":"https://api.github.com/users/petervandoros/orgs","repos_url":"https://api.github.com/users/petervandoros/repos","events_url":"https://api.github.com/users/petervandoros/events{/privacy}","received_events_url":"https://api.github.com/users/petervandoros/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1/commits","review_comments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1/comments","review_comment_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/comments{/number}","comments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/1/comments","statuses_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/statuses/3a949486501ad6a285bb9e92b4ba135a56bbf498","head":{"label":"envato:init","ref":"init","sha":"3a949486501ad6a285bb9e92b4ba135a56bbf498","user":{"login":"envato","id":14786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Nzg2","avatar_url":"https://avatars0.githubusercontent.com/u/14786?v=4","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"repo":{"id":148555554,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg1NTU1NTQ=","name":"cloudflare-worker-test-harness","full_name":"envato/cloudflare-worker-test-harness","owner":{"login":"envato","id":14786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Nzg2","avatar_url":"https://avatars0.githubusercontent.com/u/14786?v=4","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/envato/cloudflare-worker-test-harness","description":"A test harness that enables testing of Cloudflare Workers","fork":false,"url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness","forks_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/forks","keys_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/teams","hooks_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/hooks","issue_events_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/events{/number}","events_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/events","assignees_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/assignees{/user}","branches_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/branches{/branch}","tags_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/tags","blobs_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/languages","stargazers_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/stargazers","contributors_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/contributors","subscribers_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/subscribers","subscription_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/subscription","commits_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/contents/{+path}","compare_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/merges","archive_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/downloads","issues_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues{/number}","pulls_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/labels{/name}","releases_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/releases{/id}","deployments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/deployments","created_at":"2018-09-12T23:46:00Z","updated_at":"2018-09-14T03:50:40Z","pushed_at":"2018-09-14T04:15:01Z","git_url":"git://github.com/envato/cloudflare-worker-test-harness.git","ssh_url":"git@github.com:envato/cloudflare-worker-test-harness.git","clone_url":"https://github.com/envato/cloudflare-worker-test-harness.git","svn_url":"https://github.com/envato/cloudflare-worker-test-harness","homepage":null,"size":63,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"envato:master","ref":"master","sha":"c71cfec6d7257ecb06da8f7eda040a2dfbc8079b","user":{"login":"envato","id":14786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Nzg2","avatar_url":"https://avatars0.githubusercontent.com/u/14786?v=4","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"repo":{"id":148555554,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg1NTU1NTQ=","name":"cloudflare-worker-test-harness","full_name":"envato/cloudflare-worker-test-harness","owner":{"login":"envato","id":14786,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Nzg2","avatar_url":"https://avatars0.githubusercontent.com/u/14786?v=4","gravatar_id":"","url":"https://api.github.com/users/envato","html_url":"https://github.com/envato","followers_url":"https://api.github.com/users/envato/followers","following_url":"https://api.github.com/users/envato/following{/other_user}","gists_url":"https://api.github.com/users/envato/gists{/gist_id}","starred_url":"https://api.github.com/users/envato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envato/subscriptions","organizations_url":"https://api.github.com/users/envato/orgs","repos_url":"https://api.github.com/users/envato/repos","events_url":"https://api.github.com/users/envato/events{/privacy}","received_events_url":"https://api.github.com/users/envato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/envato/cloudflare-worker-test-harness","description":"A test harness that enables testing of Cloudflare Workers","fork":false,"url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness","forks_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/forks","keys_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/keys{/key_id}","collaborators_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/teams","hooks_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/hooks","issue_events_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/events{/number}","events_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/events","assignees_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/assignees{/user}","branches_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/branches{/branch}","tags_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/tags","blobs_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/refs{/sha}","trees_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/trees{/sha}","statuses_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/statuses/{sha}","languages_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/languages","stargazers_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/stargazers","contributors_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/contributors","subscribers_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/subscribers","subscription_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/subscription","commits_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/commits{/sha}","git_commits_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/git/commits{/sha}","comments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/comments{/number}","issue_comment_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/comments{/number}","contents_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/contents/{+path}","compare_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/compare/{base}...{head}","merges_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/merges","archive_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/downloads","issues_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues{/number}","pulls_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls{/number}","milestones_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/milestones{/number}","notifications_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/labels{/name}","releases_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/releases{/id}","deployments_url":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/deployments","created_at":"2018-09-12T23:46:00Z","updated_at":"2018-09-14T03:50:40Z","pushed_at":"2018-09-14T04:15:01Z","git_url":"git://github.com/envato/cloudflare-worker-test-harness.git","ssh_url":"git@github.com:envato/cloudflare-worker-test-harness.git","clone_url":"https://github.com/envato/cloudflare-worker-test-harness.git","svn_url":"https://github.com/envato/cloudflare-worker-test-harness","homepage":null,"size":63,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1"},"html":{"href":"https://github.com/envato/cloudflare-worker-test-harness/pull/1"},"issue":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/1"},"comments":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/envato/cloudflare-worker-test-harness/statuses/3a949486501ad6a285bb9e92b4ba135a56bbf498"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"yoshdog"}}