{"action":"created","comment":{"url":"https://api.github.com/repos/appium/appium-adb/pulls/comments/31176358","id":31176358,"diff_hunk":"@@ -0,0 +1,123 @@\n+import chai from 'chai';\n+import chaiAsPromised from 'chai-as-promised';\n+import 'mochawait';\n+import { ADB } from '../lib/adb.js';\n+\n+const should = chai.should();\n+chai.use(chaiAsPromised);\n+\n+describe('ADB', () => {\n+  it('should correctly return adb if present', async () => {\n+    let adb = new ADB();\n+    let temp = await adb.createADB();\n+    should.exist(temp.path);\n+  });\n+  it('should correctly return adb if present ANDROID_HOME is not present', async () => {","path":"test/adb-specs.js","position":15,"original_position":15,"commit_id":"f588b27313a40851c25034cb144a9007309a9f93","original_commit_id":"f588b27313a40851c25034cb144a9007309a9f93","user":{"login":"moizjv","id":1308607,"avatar_url":"https://avatars.githubusercontent.com/u/1308607?v=3","gravatar_id":"","url":"https://api.github.com/users/moizjv","html_url":"https://github.com/moizjv","followers_url":"https://api.github.com/users/moizjv/followers","following_url":"https://api.github.com/users/moizjv/following{/other_user}","gists_url":"https://api.github.com/users/moizjv/gists{/gist_id}","starred_url":"https://api.github.com/users/moizjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moizjv/subscriptions","organizations_url":"https://api.github.com/users/moizjv/orgs","repos_url":"https://api.github.com/users/moizjv/repos","events_url":"https://api.github.com/users/moizjv/events{/privacy}","received_events_url":"https://api.github.com/users/moizjv/received_events","type":"User","site_admin":false},"body":"get its from the system path","created_at":"2015-05-27T20:26:56Z","updated_at":"2015-05-27T20:26:56Z","html_url":"https://github.com/appium/appium-adb/pull/76#discussion_r31176358","pull_request_url":"https://api.github.com/repos/appium/appium-adb/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/comments/31176358"},"html":{"href":"https://github.com/appium/appium-adb/pull/76#discussion_r31176358"},"pull_request":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/appium/appium-adb/pulls/76","id":36337495,"html_url":"https://github.com/appium/appium-adb/pull/76","diff_url":"https://github.com/appium/appium-adb/pull/76.diff","patch_url":"https://github.com/appium/appium-adb/pull/76.patch","issue_url":"https://api.github.com/repos/appium/appium-adb/issues/76","number":76,"state":"open","locked":false,"title":"Porting appium adb ","user":{"login":"moizjv","id":1308607,"avatar_url":"https://avatars.githubusercontent.com/u/1308607?v=3","gravatar_id":"","url":"https://api.github.com/users/moizjv","html_url":"https://github.com/moizjv","followers_url":"https://api.github.com/users/moizjv/followers","following_url":"https://api.github.com/users/moizjv/following{/other_user}","gists_url":"https://api.github.com/users/moizjv/gists{/gist_id}","starred_url":"https://api.github.com/users/moizjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moizjv/subscriptions","organizations_url":"https://api.github.com/users/moizjv/orgs","repos_url":"https://api.github.com/users/moizjv/repos","events_url":"https://api.github.com/users/moizjv/events{/privacy}","received_events_url":"https://api.github.com/users/moizjv/received_events","type":"User","site_admin":false},"body":"- Adding gulp, babel and friends\r\n- Adding new ADB class.\r\n- Dividing ADB class methods in to another file. \r\n- Adding specs and many skips will remove skip as I continue implementing API. \r\n","created_at":"2015-05-27T19:05:31Z","updated_at":"2015-05-27T20:26:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e552f16fe797f5aeaed72459269168f8d0a28a16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/appium-adb/pulls/76/commits","review_comments_url":"https://api.github.com/repos/appium/appium-adb/pulls/76/comments","review_comment_url":"https://api.github.com/repos/appium/appium-adb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/appium-adb/issues/76/comments","statuses_url":"https://api.github.com/repos/appium/appium-adb/statuses/f588b27313a40851c25034cb144a9007309a9f93","head":{"label":"moizjv:2.0","ref":"2.0","sha":"f588b27313a40851c25034cb144a9007309a9f93","user":{"login":"moizjv","id":1308607,"avatar_url":"https://avatars.githubusercontent.com/u/1308607?v=3","gravatar_id":"","url":"https://api.github.com/users/moizjv","html_url":"https://github.com/moizjv","followers_url":"https://api.github.com/users/moizjv/followers","following_url":"https://api.github.com/users/moizjv/following{/other_user}","gists_url":"https://api.github.com/users/moizjv/gists{/gist_id}","starred_url":"https://api.github.com/users/moizjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moizjv/subscriptions","organizations_url":"https://api.github.com/users/moizjv/orgs","repos_url":"https://api.github.com/users/moizjv/repos","events_url":"https://api.github.com/users/moizjv/events{/privacy}","received_events_url":"https://api.github.com/users/moizjv/received_events","type":"User","site_admin":false},"repo":{"id":20572387,"name":"appium-adb","full_name":"moizjv/appium-adb","owner":{"login":"moizjv","id":1308607,"avatar_url":"https://avatars.githubusercontent.com/u/1308607?v=3","gravatar_id":"","url":"https://api.github.com/users/moizjv","html_url":"https://github.com/moizjv","followers_url":"https://api.github.com/users/moizjv/followers","following_url":"https://api.github.com/users/moizjv/following{/other_user}","gists_url":"https://api.github.com/users/moizjv/gists{/gist_id}","starred_url":"https://api.github.com/users/moizjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moizjv/subscriptions","organizations_url":"https://api.github.com/users/moizjv/orgs","repos_url":"https://api.github.com/users/moizjv/repos","events_url":"https://api.github.com/users/moizjv/events{/privacy}","received_events_url":"https://api.github.com/users/moizjv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moizjv/appium-adb","description":"Wrapper around adb used by appium + helper libs","fork":true,"url":"https://api.github.com/repos/moizjv/appium-adb","forks_url":"https://api.github.com/repos/moizjv/appium-adb/forks","keys_url":"https://api.github.com/repos/moizjv/appium-adb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moizjv/appium-adb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moizjv/appium-adb/teams","hooks_url":"https://api.github.com/repos/moizjv/appium-adb/hooks","issue_events_url":"https://api.github.com/repos/moizjv/appium-adb/issues/events{/number}","events_url":"https://api.github.com/repos/moizjv/appium-adb/events","assignees_url":"https://api.github.com/repos/moizjv/appium-adb/assignees{/user}","branches_url":"https://api.github.com/repos/moizjv/appium-adb/branches{/branch}","tags_url":"https://api.github.com/repos/moizjv/appium-adb/tags","blobs_url":"https://api.github.com/repos/moizjv/appium-adb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moizjv/appium-adb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moizjv/appium-adb/git/refs{/sha}","trees_url":"https://api.github.com/repos/moizjv/appium-adb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moizjv/appium-adb/statuses/{sha}","languages_url":"https://api.github.com/repos/moizjv/appium-adb/languages","stargazers_url":"https://api.github.com/repos/moizjv/appium-adb/stargazers","contributors_url":"https://api.github.com/repos/moizjv/appium-adb/contributors","subscribers_url":"https://api.github.com/repos/moizjv/appium-adb/subscribers","subscription_url":"https://api.github.com/repos/moizjv/appium-adb/subscription","commits_url":"https://api.github.com/repos/moizjv/appium-adb/commits{/sha}","git_commits_url":"https://api.github.com/repos/moizjv/appium-adb/git/commits{/sha}","comments_url":"https://api.github.com/repos/moizjv/appium-adb/comments{/number}","issue_comment_url":"https://api.github.com/repos/moizjv/appium-adb/issues/comments{/number}","contents_url":"https://api.github.com/repos/moizjv/appium-adb/contents/{+path}","compare_url":"https://api.github.com/repos/moizjv/appium-adb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moizjv/appium-adb/merges","archive_url":"https://api.github.com/repos/moizjv/appium-adb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moizjv/appium-adb/downloads","issues_url":"https://api.github.com/repos/moizjv/appium-adb/issues{/number}","pulls_url":"https://api.github.com/repos/moizjv/appium-adb/pulls{/number}","milestones_url":"https://api.github.com/repos/moizjv/appium-adb/milestones{/number}","notifications_url":"https://api.github.com/repos/moizjv/appium-adb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moizjv/appium-adb/labels{/name}","releases_url":"https://api.github.com/repos/moizjv/appium-adb/releases{/id}","created_at":"2014-06-06T17:38:31Z","updated_at":"2015-04-16T22:48:50Z","pushed_at":"2015-05-27T19:32:19Z","git_url":"git://github.com/moizjv/appium-adb.git","ssh_url":"git@github.com:moizjv/appium-adb.git","clone_url":"https://github.com/moizjv/appium-adb.git","svn_url":"https://github.com/moizjv/appium-adb","homepage":null,"size":24636,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"appium:2.0","ref":"2.0","sha":"7df77ebad6d63789b7ec98a4c6728088fd6ed203","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":17339088,"name":"appium-adb","full_name":"appium/appium-adb","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/appium-adb","description":"Wrapper around adb used by appium + helper libs","fork":false,"url":"https://api.github.com/repos/appium/appium-adb","forks_url":"https://api.github.com/repos/appium/appium-adb/forks","keys_url":"https://api.github.com/repos/appium/appium-adb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/appium-adb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/appium-adb/teams","hooks_url":"https://api.github.com/repos/appium/appium-adb/hooks","issue_events_url":"https://api.github.com/repos/appium/appium-adb/issues/events{/number}","events_url":"https://api.github.com/repos/appium/appium-adb/events","assignees_url":"https://api.github.com/repos/appium/appium-adb/assignees{/user}","branches_url":"https://api.github.com/repos/appium/appium-adb/branches{/branch}","tags_url":"https://api.github.com/repos/appium/appium-adb/tags","blobs_url":"https://api.github.com/repos/appium/appium-adb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/appium-adb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/appium-adb/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/appium-adb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/appium-adb/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/appium-adb/languages","stargazers_url":"https://api.github.com/repos/appium/appium-adb/stargazers","contributors_url":"https://api.github.com/repos/appium/appium-adb/contributors","subscribers_url":"https://api.github.com/repos/appium/appium-adb/subscribers","subscription_url":"https://api.github.com/repos/appium/appium-adb/subscription","commits_url":"https://api.github.com/repos/appium/appium-adb/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/appium-adb/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/appium-adb/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/appium-adb/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/appium-adb/contents/{+path}","compare_url":"https://api.github.com/repos/appium/appium-adb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/appium-adb/merges","archive_url":"https://api.github.com/repos/appium/appium-adb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/appium-adb/downloads","issues_url":"https://api.github.com/repos/appium/appium-adb/issues{/number}","pulls_url":"https://api.github.com/repos/appium/appium-adb/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/appium-adb/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/appium-adb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/appium-adb/labels{/name}","releases_url":"https://api.github.com/repos/appium/appium-adb/releases{/id}","created_at":"2014-03-02T14:20:10Z","updated_at":"2015-04-16T17:09:50Z","pushed_at":"2015-05-27T19:32:20Z","git_url":"git://github.com/appium/appium-adb.git","ssh_url":"git@github.com:appium/appium-adb.git","clone_url":"https://github.com/appium/appium-adb.git","svn_url":"https://github.com/appium/appium-adb","homepage":null,"size":25386,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":13,"forks":24,"open_issues":13,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/76"},"html":{"href":"https://github.com/appium/appium-adb/pull/76"},"issue":{"href":"https://api.github.com/repos/appium/appium-adb/issues/76"},"comments":{"href":"https://api.github.com/repos/appium/appium-adb/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/appium-adb/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/appium/appium-adb/statuses/f588b27313a40851c25034cb144a9007309a9f93"}}}}