{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/magento/m2-devtools/pulls/17","id":235676588,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1Njc2NTg4","html_url":"https://github.com/magento/m2-devtools/pull/17","diff_url":"https://github.com/magento/m2-devtools/pull/17.diff","patch_url":"https://github.com/magento/m2-devtools/pull/17.patch","issue_url":"https://api.github.com/repos/magento/m2-devtools/issues/17","number":17,"state":"open","locked":false,"title":"Adding unit tests for bundle generation. Closes #2","user":{"login":"DrewML","id":5233399,"node_id":"MDQ6VXNlcjUyMzMzOTk=","avatar_url":"https://avatars2.githubusercontent.com/u/5233399?v=4","gravatar_id":"","url":"https://api.github.com/users/DrewML","html_url":"https://github.com/DrewML","followers_url":"https://api.github.com/users/DrewML/followers","following_url":"https://api.github.com/users/DrewML/following{/other_user}","gists_url":"https://api.github.com/users/DrewML/gists{/gist_id}","starred_url":"https://api.github.com/users/DrewML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrewML/subscriptions","organizations_url":"https://api.github.com/users/DrewML/orgs","repos_url":"https://api.github.com/users/DrewML/repos","events_url":"https://api.github.com/users/DrewML/events{/privacy}","received_events_url":"https://api.github.com/users/DrewML/received_events","type":"User","site_admin":false},"body":"## This PR is a:\r\n\r\n- [ ] New feature\r\n- [ ] Enhancement/Optimization\r\n- [ ] Refactor\r\n- [ ] Bugfix\r\n- [X] Test for existing code\r\n- [ ] Documentation\r\n\r\n## Summary\r\n\r\nWhen this pull request is merged, it will add coverage for [`generate.ts`](https://github.com/magento/m2-devtools/blob/c2f32bd5e3ecb83adf1bd288f3bc248608f0e901/src/RequireJS/BundleGenerator/generate.ts), so that I can feel comfortable refactoring that mess 😆.\r\n\r\n","created_at":"2018-12-04T04:31:39Z","updated_at":"2018-12-04T04:31:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/magento/m2-devtools/pulls/17/commits","review_comments_url":"https://api.github.com/repos/magento/m2-devtools/pulls/17/comments","review_comment_url":"https://api.github.com/repos/magento/m2-devtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magento/m2-devtools/issues/17/comments","statuses_url":"https://api.github.com/repos/magento/m2-devtools/statuses/42ddacd12e3f9eeb04f7b833c3b0632cec45e111","head":{"label":"magento:generate-unit-tests","ref":"generate-unit-tests","sha":"42ddacd12e3f9eeb04f7b833c3b0632cec45e111","user":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"repo":{"id":159869145,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk4NjkxNDU=","name":"m2-devtools","full_name":"magento/m2-devtools","private":false,"owner":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/magento/m2-devtools","description":"Helpful in-browser debugging/inspection tools for the Magento 2 Front-End","fork":false,"url":"https://api.github.com/repos/magento/m2-devtools","forks_url":"https://api.github.com/repos/magento/m2-devtools/forks","keys_url":"https://api.github.com/repos/magento/m2-devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magento/m2-devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magento/m2-devtools/teams","hooks_url":"https://api.github.com/repos/magento/m2-devtools/hooks","issue_events_url":"https://api.github.com/repos/magento/m2-devtools/issues/events{/number}","events_url":"https://api.github.com/repos/magento/m2-devtools/events","assignees_url":"https://api.github.com/repos/magento/m2-devtools/assignees{/user}","branches_url":"https://api.github.com/repos/magento/m2-devtools/branches{/branch}","tags_url":"https://api.github.com/repos/magento/m2-devtools/tags","blobs_url":"https://api.github.com/repos/magento/m2-devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magento/m2-devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magento/m2-devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/magento/m2-devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magento/m2-devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/magento/m2-devtools/languages","stargazers_url":"https://api.github.com/repos/magento/m2-devtools/stargazers","contributors_url":"https://api.github.com/repos/magento/m2-devtools/contributors","subscribers_url":"https://api.github.com/repos/magento/m2-devtools/subscribers","subscription_url":"https://api.github.com/repos/magento/m2-devtools/subscription","commits_url":"https://api.github.com/repos/magento/m2-devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/magento/m2-devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/magento/m2-devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/magento/m2-devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/magento/m2-devtools/contents/{+path}","compare_url":"https://api.github.com/repos/magento/m2-devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magento/m2-devtools/merges","archive_url":"https://api.github.com/repos/magento/m2-devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magento/m2-devtools/downloads","issues_url":"https://api.github.com/repos/magento/m2-devtools/issues{/number}","pulls_url":"https://api.github.com/repos/magento/m2-devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/magento/m2-devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/magento/m2-devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magento/m2-devtools/labels{/name}","releases_url":"https://api.github.com/repos/magento/m2-devtools/releases{/id}","deployments_url":"https://api.github.com/repos/magento/m2-devtools/deployments","created_at":"2018-11-30T19:25:49Z","updated_at":"2018-12-04T03:34:15Z","pushed_at":"2018-12-04T04:30:09Z","git_url":"git://github.com/magento/m2-devtools.git","ssh_url":"git@github.com:magento/m2-devtools.git","clone_url":"https://github.com/magento/m2-devtools.git","svn_url":"https://github.com/magento/m2-devtools","homepage":"","size":173,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":11,"watchers":7,"default_branch":"master"}},"base":{"label":"magento:master","ref":"master","sha":"c2f32bd5e3ecb83adf1bd288f3bc248608f0e901","user":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"repo":{"id":159869145,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk4NjkxNDU=","name":"m2-devtools","full_name":"magento/m2-devtools","private":false,"owner":{"login":"magento","id":168457,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODQ1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/168457?v=4","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/magento/m2-devtools","description":"Helpful in-browser debugging/inspection tools for the Magento 2 Front-End","fork":false,"url":"https://api.github.com/repos/magento/m2-devtools","forks_url":"https://api.github.com/repos/magento/m2-devtools/forks","keys_url":"https://api.github.com/repos/magento/m2-devtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magento/m2-devtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magento/m2-devtools/teams","hooks_url":"https://api.github.com/repos/magento/m2-devtools/hooks","issue_events_url":"https://api.github.com/repos/magento/m2-devtools/issues/events{/number}","events_url":"https://api.github.com/repos/magento/m2-devtools/events","assignees_url":"https://api.github.com/repos/magento/m2-devtools/assignees{/user}","branches_url":"https://api.github.com/repos/magento/m2-devtools/branches{/branch}","tags_url":"https://api.github.com/repos/magento/m2-devtools/tags","blobs_url":"https://api.github.com/repos/magento/m2-devtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magento/m2-devtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magento/m2-devtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/magento/m2-devtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magento/m2-devtools/statuses/{sha}","languages_url":"https://api.github.com/repos/magento/m2-devtools/languages","stargazers_url":"https://api.github.com/repos/magento/m2-devtools/stargazers","contributors_url":"https://api.github.com/repos/magento/m2-devtools/contributors","subscribers_url":"https://api.github.com/repos/magento/m2-devtools/subscribers","subscription_url":"https://api.github.com/repos/magento/m2-devtools/subscription","commits_url":"https://api.github.com/repos/magento/m2-devtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/magento/m2-devtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/magento/m2-devtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/magento/m2-devtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/magento/m2-devtools/contents/{+path}","compare_url":"https://api.github.com/repos/magento/m2-devtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magento/m2-devtools/merges","archive_url":"https://api.github.com/repos/magento/m2-devtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magento/m2-devtools/downloads","issues_url":"https://api.github.com/repos/magento/m2-devtools/issues{/number}","pulls_url":"https://api.github.com/repos/magento/m2-devtools/pulls{/number}","milestones_url":"https://api.github.com/repos/magento/m2-devtools/milestones{/number}","notifications_url":"https://api.github.com/repos/magento/m2-devtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magento/m2-devtools/labels{/name}","releases_url":"https://api.github.com/repos/magento/m2-devtools/releases{/id}","deployments_url":"https://api.github.com/repos/magento/m2-devtools/deployments","created_at":"2018-11-30T19:25:49Z","updated_at":"2018-12-04T03:34:15Z","pushed_at":"2018-12-04T04:30:09Z","git_url":"git://github.com/magento/m2-devtools.git","ssh_url":"git@github.com:magento/m2-devtools.git","clone_url":"https://github.com/magento/m2-devtools.git","svn_url":"https://github.com/magento/m2-devtools","homepage":"","size":173,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":11,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magento/m2-devtools/pulls/17"},"html":{"href":"https://github.com/magento/m2-devtools/pull/17"},"issue":{"href":"https://api.github.com/repos/magento/m2-devtools/issues/17"},"comments":{"href":"https://api.github.com/repos/magento/m2-devtools/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/magento/m2-devtools/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/magento/m2-devtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magento/m2-devtools/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/magento/m2-devtools/statuses/42ddacd12e3f9eeb04f7b833c3b0632cec45e111"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":112,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"DrewML"}}