{"action":"created","comment":{"url":"https://api.github.com/repos/zeit/hyperterm/pulls/comments/73112918","id":73112918,"diff_hunk":"@@ -0,0 +1,21 @@\n+require('../setup');\n+\n+const {_toDependencies} = require('../../app/plugins');\n+\n+describe('plugins', function () {\n+  describe('#toDependencies()', function () {\n+    it('should convert dependencies form hyperterm\\'s format to npm\\'s', function () {\n+      const plugins = ['project1', 'project2#1.0.0', 'project3@beta',\n+                       '@org1/project4#1.0.0', '@org2/project5@alpha',\n+                       '@org3/project6'];\n+\n+      const result = _toDependencies({plugins: plugins});\n+      result.should.have.property('project1', 'latest');\n+      result.should.have.property('project2', '1.0.0');\n+      result.should.have.property('project3', 'beta');\n+      result.should.have.property('@org1/project4', '1.0.0');\n+      result.should.have.property('@org2/project5', 'alpha');\n+      result.should.have.property('@org3/project6', 'latest');","path":"test/app/plugins.js","position":18,"original_position":18,"commit_id":"f7028c120745c4ce86fea0dcc636e69344d5badb","original_commit_id":"fe2373de2309107c70e44a11f62ed4468e40769f","user":{"login":"matheuss","id":4721750,"avatar_url":"https://avatars.githubusercontent.com/u/4721750?v=3","gravatar_id":"","url":"https://api.github.com/users/matheuss","html_url":"https://github.com/matheuss","followers_url":"https://api.github.com/users/matheuss/followers","following_url":"https://api.github.com/users/matheuss/following{/other_user}","gists_url":"https://api.github.com/users/matheuss/gists{/gist_id}","starred_url":"https://api.github.com/users/matheuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheuss/subscriptions","organizations_url":"https://api.github.com/users/matheuss/orgs","repos_url":"https://api.github.com/users/matheuss/repos","events_url":"https://api.github.com/users/matheuss/events{/privacy}","received_events_url":"https://api.github.com/users/matheuss/received_events","type":"User","site_admin":false},"body":"Since I have no expertise with Mocha, I just used the assertion framework that the docs suggested 😅 \r\nThe `to satisfy` thing seems really cool – I'll definitely take a look at Unexpected 🙂 Thanks!","created_at":"2016-08-02T08:24:09Z","updated_at":"2016-08-02T08:24:09Z","html_url":"https://github.com/zeit/hyperterm/pull/549#discussion_r73112918","pull_request_url":"https://api.github.com/repos/zeit/hyperterm/pulls/549","_links":{"self":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/comments/73112918"},"html":{"href":"https://github.com/zeit/hyperterm/pull/549#discussion_r73112918"},"pull_request":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/549"}}},"pull_request":{"url":"https://api.github.com/repos/zeit/hyperterm/pulls/549","id":79691164,"html_url":"https://github.com/zeit/hyperterm/pull/549","diff_url":"https://github.com/zeit/hyperterm/pull/549.diff","patch_url":"https://github.com/zeit/hyperterm/pull/549.patch","issue_url":"https://api.github.com/repos/zeit/hyperterm/issues/549","number":549,"state":"open","locked":false,"title":"Add the very first test 🎉","user":{"login":"matheuss","id":4721750,"avatar_url":"https://avatars.githubusercontent.com/u/4721750?v=3","gravatar_id":"","url":"https://api.github.com/users/matheuss","html_url":"https://github.com/matheuss","followers_url":"https://api.github.com/users/matheuss/followers","following_url":"https://api.github.com/users/matheuss/following{/other_user}","gists_url":"https://api.github.com/users/matheuss/gists{/gist_id}","starred_url":"https://api.github.com/users/matheuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheuss/subscriptions","organizations_url":"https://api.github.com/users/matheuss/orgs","repos_url":"https://api.github.com/users/matheuss/repos","events_url":"https://api.github.com/users/matheuss/events{/privacy}","received_events_url":"https://api.github.com/users/matheuss/received_events","type":"User","site_admin":false},"body":"Now we have tests running on macOS and Linux! 🎉 🙏\r\n\r\nThis PR also implements what #412 proposed – but in a better way.\r\n\r\nI'll only merge this with the 👍 of @rauchg and @leo since it's a PR that introduces how the testing will be done 😅 ","created_at":"2016-08-02T07:57:53Z","updated_at":"2016-08-02T08:24:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4aae7042ef4aad3c147dc614701e52993b38e30c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeit/hyperterm/pulls/549/commits","review_comments_url":"https://api.github.com/repos/zeit/hyperterm/pulls/549/comments","review_comment_url":"https://api.github.com/repos/zeit/hyperterm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeit/hyperterm/issues/549/comments","statuses_url":"https://api.github.com/repos/zeit/hyperterm/statuses/f7028c120745c4ce86fea0dcc636e69344d5badb","head":{"label":"zeit:add/tests","ref":"add/tests","sha":"f7028c120745c4ce86fea0dcc636e69344d5badb","user":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":62367558,"name":"hyperterm","full_name":"zeit/hyperterm","owner":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeit/hyperterm","description":"HTML/JS/CSS Terminal","fork":false,"url":"https://api.github.com/repos/zeit/hyperterm","forks_url":"https://api.github.com/repos/zeit/hyperterm/forks","keys_url":"https://api.github.com/repos/zeit/hyperterm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/hyperterm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/hyperterm/teams","hooks_url":"https://api.github.com/repos/zeit/hyperterm/hooks","issue_events_url":"https://api.github.com/repos/zeit/hyperterm/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/hyperterm/events","assignees_url":"https://api.github.com/repos/zeit/hyperterm/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/hyperterm/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/hyperterm/tags","blobs_url":"https://api.github.com/repos/zeit/hyperterm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/hyperterm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/hyperterm/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/hyperterm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/hyperterm/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/hyperterm/languages","stargazers_url":"https://api.github.com/repos/zeit/hyperterm/stargazers","contributors_url":"https://api.github.com/repos/zeit/hyperterm/contributors","subscribers_url":"https://api.github.com/repos/zeit/hyperterm/subscribers","subscription_url":"https://api.github.com/repos/zeit/hyperterm/subscription","commits_url":"https://api.github.com/repos/zeit/hyperterm/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/hyperterm/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/hyperterm/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/hyperterm/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/hyperterm/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/hyperterm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/hyperterm/merges","archive_url":"https://api.github.com/repos/zeit/hyperterm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/hyperterm/downloads","issues_url":"https://api.github.com/repos/zeit/hyperterm/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/hyperterm/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/hyperterm/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/hyperterm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/hyperterm/labels{/name}","releases_url":"https://api.github.com/repos/zeit/hyperterm/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/hyperterm/deployments","created_at":"2016-07-01T06:01:21Z","updated_at":"2016-08-02T08:08:15Z","pushed_at":"2016-08-02T08:07:53Z","git_url":"git://github.com/zeit/hyperterm.git","ssh_url":"git@github.com:zeit/hyperterm.git","clone_url":"https://github.com/zeit/hyperterm.git","svn_url":"https://github.com/zeit/hyperterm","homepage":"https://hyperterm.org","size":1893,"stargazers_count":7061,"watchers_count":7061,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":333,"mirror_url":null,"open_issues_count":242,"forks":333,"open_issues":242,"watchers":7061,"default_branch":"master"}},"base":{"label":"zeit:master","ref":"master","sha":"011ae3fd5232dd91e6289432869c43dcd15a5441","user":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":62367558,"name":"hyperterm","full_name":"zeit/hyperterm","owner":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeit/hyperterm","description":"HTML/JS/CSS Terminal","fork":false,"url":"https://api.github.com/repos/zeit/hyperterm","forks_url":"https://api.github.com/repos/zeit/hyperterm/forks","keys_url":"https://api.github.com/repos/zeit/hyperterm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/hyperterm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/hyperterm/teams","hooks_url":"https://api.github.com/repos/zeit/hyperterm/hooks","issue_events_url":"https://api.github.com/repos/zeit/hyperterm/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/hyperterm/events","assignees_url":"https://api.github.com/repos/zeit/hyperterm/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/hyperterm/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/hyperterm/tags","blobs_url":"https://api.github.com/repos/zeit/hyperterm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/hyperterm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/hyperterm/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/hyperterm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/hyperterm/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/hyperterm/languages","stargazers_url":"https://api.github.com/repos/zeit/hyperterm/stargazers","contributors_url":"https://api.github.com/repos/zeit/hyperterm/contributors","subscribers_url":"https://api.github.com/repos/zeit/hyperterm/subscribers","subscription_url":"https://api.github.com/repos/zeit/hyperterm/subscription","commits_url":"https://api.github.com/repos/zeit/hyperterm/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/hyperterm/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/hyperterm/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/hyperterm/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/hyperterm/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/hyperterm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/hyperterm/merges","archive_url":"https://api.github.com/repos/zeit/hyperterm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/hyperterm/downloads","issues_url":"https://api.github.com/repos/zeit/hyperterm/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/hyperterm/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/hyperterm/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/hyperterm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/hyperterm/labels{/name}","releases_url":"https://api.github.com/repos/zeit/hyperterm/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/hyperterm/deployments","created_at":"2016-07-01T06:01:21Z","updated_at":"2016-08-02T08:08:15Z","pushed_at":"2016-08-02T08:07:53Z","git_url":"git://github.com/zeit/hyperterm.git","ssh_url":"git@github.com:zeit/hyperterm.git","clone_url":"https://github.com/zeit/hyperterm.git","svn_url":"https://github.com/zeit/hyperterm","homepage":"https://hyperterm.org","size":1893,"stargazers_count":7061,"watchers_count":7061,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":333,"mirror_url":null,"open_issues_count":242,"forks":333,"open_issues":242,"watchers":7061,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/549"},"html":{"href":"https://github.com/zeit/hyperterm/pull/549"},"issue":{"href":"https://api.github.com/repos/zeit/hyperterm/issues/549"},"comments":{"href":"https://api.github.com/repos/zeit/hyperterm/issues/549/comments"},"review_comments":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/549/comments"},"review_comment":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeit/hyperterm/pulls/549/commits"},"statuses":{"href":"https://api.github.com/repos/zeit/hyperterm/statuses/f7028c120745c4ce86fea0dcc636e69344d5badb"}}}}
{"actor":{"display_login":"matheuss"}}