{"action":"created","comment":{"url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/comments/74111160","id":74111160,"diff_hunk":"@@ -99,6 +110,13 @@ let getFiles = (path) => {\n     return glob.sync(\"**/*.js\", {'ignore': ['node_modules/**/*']});\n };\n \n+/* Get all js files for test\n+ * Return path of all js files\n+ */\n+let getTestFiles = (path) => {\n+    return glob.sync(\"**/*.spec.js\", {'ignore': ['node_modules/**/*']});","path":"helpers.js","position":null,"original_position":52,"commit_id":"c274ddc9517c3dc977e95376992ed3a1d502a30c","original_commit_id":"5548085fe2220e2980ee8eb5578e3c9aa295369c","user":{"login":"shubhamgautam","id":3644720,"avatar_url":"https://avatars.githubusercontent.com/u/3644720?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamgautam","html_url":"https://github.com/shubhamgautam","followers_url":"https://api.github.com/users/shubhamgautam/followers","following_url":"https://api.github.com/users/shubhamgautam/following{/other_user}","gists_url":"https://api.github.com/users/shubhamgautam/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamgautam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamgautam/subscriptions","organizations_url":"https://api.github.com/users/shubhamgautam/orgs","repos_url":"https://api.github.com/users/shubhamgautam/repos","events_url":"https://api.github.com/users/shubhamgautam/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamgautam/received_events","type":"User","site_admin":false},"body":"added multiple pattern check, using glob-array. though it's a old module but pretty hefty downloads everyday. \r\n\r\nnow this will work for *.spec and *.test almost 77% of the cases :)","created_at":"2016-08-09T17:59:27Z","updated_at":"2016-08-09T17:59:27Z","html_url":"https://github.com/siddharthkp/auto-install/pull/5#discussion_r74111160","pull_request_url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/comments/74111160"},"html":{"href":"https://github.com/siddharthkp/auto-install/pull/5#discussion_r74111160"},"pull_request":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5","id":80590543,"html_url":"https://github.com/siddharthkp/auto-install/pull/5","diff_url":"https://github.com/siddharthkp/auto-install/pull/5.diff","patch_url":"https://github.com/siddharthkp/auto-install/pull/5.patch","issue_url":"https://api.github.com/repos/siddharthkp/auto-install/issues/5","number":5,"state":"open","locked":false,"title":"Handler for test files and dev dependencies","user":{"login":"shubhamgautam","id":3644720,"avatar_url":"https://avatars.githubusercontent.com/u/3644720?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamgautam","html_url":"https://github.com/shubhamgautam","followers_url":"https://api.github.com/users/shubhamgautam/followers","following_url":"https://api.github.com/users/shubhamgautam/following{/other_user}","gists_url":"https://api.github.com/users/shubhamgautam/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamgautam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamgautam/subscriptions","organizations_url":"https://api.github.com/users/shubhamgautam/orgs","repos_url":"https://api.github.com/users/shubhamgautam/repos","events_url":"https://api.github.com/users/shubhamgautam/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamgautam/received_events","type":"User","site_admin":false},"body":"**WHAT**\r\n-- Watcher for test file (e.g. *.spec.js)\r\n-- install it as dev dependency.\r\n\r\n- [x]  Tested on local for both test and client .","created_at":"2016-08-09T09:43:56Z","updated_at":"2016-08-09T17:59:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d53d4df5ce6eeefa39c5bb7176c40ab321ec0a4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5/commits","review_comments_url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5/comments","review_comment_url":"https://api.github.com/repos/siddharthkp/auto-install/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siddharthkp/auto-install/issues/5/comments","statuses_url":"https://api.github.com/repos/siddharthkp/auto-install/statuses/c274ddc9517c3dc977e95376992ed3a1d502a30c","head":{"label":"shubhamgautam:master","ref":"master","sha":"c274ddc9517c3dc977e95376992ed3a1d502a30c","user":{"login":"shubhamgautam","id":3644720,"avatar_url":"https://avatars.githubusercontent.com/u/3644720?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamgautam","html_url":"https://github.com/shubhamgautam","followers_url":"https://api.github.com/users/shubhamgautam/followers","following_url":"https://api.github.com/users/shubhamgautam/following{/other_user}","gists_url":"https://api.github.com/users/shubhamgautam/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamgautam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamgautam/subscriptions","organizations_url":"https://api.github.com/users/shubhamgautam/orgs","repos_url":"https://api.github.com/users/shubhamgautam/repos","events_url":"https://api.github.com/users/shubhamgautam/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamgautam/received_events","type":"User","site_admin":false},"repo":{"id":65280916,"name":"auto-install","full_name":"shubhamgautam/auto-install","owner":{"login":"shubhamgautam","id":3644720,"avatar_url":"https://avatars.githubusercontent.com/u/3644720?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamgautam","html_url":"https://github.com/shubhamgautam","followers_url":"https://api.github.com/users/shubhamgautam/followers","following_url":"https://api.github.com/users/shubhamgautam/following{/other_user}","gists_url":"https://api.github.com/users/shubhamgautam/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamgautam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamgautam/subscriptions","organizations_url":"https://api.github.com/users/shubhamgautam/orgs","repos_url":"https://api.github.com/users/shubhamgautam/repos","events_url":"https://api.github.com/users/shubhamgautam/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamgautam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shubhamgautam/auto-install","description":"Install dependencies as you code","fork":true,"url":"https://api.github.com/repos/shubhamgautam/auto-install","forks_url":"https://api.github.com/repos/shubhamgautam/auto-install/forks","keys_url":"https://api.github.com/repos/shubhamgautam/auto-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shubhamgautam/auto-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shubhamgautam/auto-install/teams","hooks_url":"https://api.github.com/repos/shubhamgautam/auto-install/hooks","issue_events_url":"https://api.github.com/repos/shubhamgautam/auto-install/issues/events{/number}","events_url":"https://api.github.com/repos/shubhamgautam/auto-install/events","assignees_url":"https://api.github.com/repos/shubhamgautam/auto-install/assignees{/user}","branches_url":"https://api.github.com/repos/shubhamgautam/auto-install/branches{/branch}","tags_url":"https://api.github.com/repos/shubhamgautam/auto-install/tags","blobs_url":"https://api.github.com/repos/shubhamgautam/auto-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shubhamgautam/auto-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shubhamgautam/auto-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/shubhamgautam/auto-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shubhamgautam/auto-install/statuses/{sha}","languages_url":"https://api.github.com/repos/shubhamgautam/auto-install/languages","stargazers_url":"https://api.github.com/repos/shubhamgautam/auto-install/stargazers","contributors_url":"https://api.github.com/repos/shubhamgautam/auto-install/contributors","subscribers_url":"https://api.github.com/repos/shubhamgautam/auto-install/subscribers","subscription_url":"https://api.github.com/repos/shubhamgautam/auto-install/subscription","commits_url":"https://api.github.com/repos/shubhamgautam/auto-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/shubhamgautam/auto-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/shubhamgautam/auto-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/shubhamgautam/auto-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/shubhamgautam/auto-install/contents/{+path}","compare_url":"https://api.github.com/repos/shubhamgautam/auto-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shubhamgautam/auto-install/merges","archive_url":"https://api.github.com/repos/shubhamgautam/auto-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shubhamgautam/auto-install/downloads","issues_url":"https://api.github.com/repos/shubhamgautam/auto-install/issues{/number}","pulls_url":"https://api.github.com/repos/shubhamgautam/auto-install/pulls{/number}","milestones_url":"https://api.github.com/repos/shubhamgautam/auto-install/milestones{/number}","notifications_url":"https://api.github.com/repos/shubhamgautam/auto-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shubhamgautam/auto-install/labels{/name}","releases_url":"https://api.github.com/repos/shubhamgautam/auto-install/releases{/id}","deployments_url":"https://api.github.com/repos/shubhamgautam/auto-install/deployments","created_at":"2016-08-09T09:13:53Z","updated_at":"2016-08-09T09:13:54Z","pushed_at":"2016-08-09T17:57:33Z","git_url":"git://github.com/shubhamgautam/auto-install.git","ssh_url":"git@github.com:shubhamgautam/auto-install.git","clone_url":"https://github.com/shubhamgautam/auto-install.git","svn_url":"https://github.com/shubhamgautam/auto-install","homepage":"","size":456,"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":"siddharthkp:master","ref":"master","sha":"e9d078e3651554c9d7b7b9c2f4e52cd39369907d","user":{"login":"siddharthkp","id":1863771,"avatar_url":"https://avatars.githubusercontent.com/u/1863771?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharthkp","html_url":"https://github.com/siddharthkp","followers_url":"https://api.github.com/users/siddharthkp/followers","following_url":"https://api.github.com/users/siddharthkp/following{/other_user}","gists_url":"https://api.github.com/users/siddharthkp/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthkp/subscriptions","organizations_url":"https://api.github.com/users/siddharthkp/orgs","repos_url":"https://api.github.com/users/siddharthkp/repos","events_url":"https://api.github.com/users/siddharthkp/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthkp/received_events","type":"User","site_admin":false},"repo":{"id":65134909,"name":"auto-install","full_name":"siddharthkp/auto-install","owner":{"login":"siddharthkp","id":1863771,"avatar_url":"https://avatars.githubusercontent.com/u/1863771?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharthkp","html_url":"https://github.com/siddharthkp","followers_url":"https://api.github.com/users/siddharthkp/followers","following_url":"https://api.github.com/users/siddharthkp/following{/other_user}","gists_url":"https://api.github.com/users/siddharthkp/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthkp/subscriptions","organizations_url":"https://api.github.com/users/siddharthkp/orgs","repos_url":"https://api.github.com/users/siddharthkp/repos","events_url":"https://api.github.com/users/siddharthkp/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthkp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/siddharthkp/auto-install","description":"Install dependencies as you code","fork":false,"url":"https://api.github.com/repos/siddharthkp/auto-install","forks_url":"https://api.github.com/repos/siddharthkp/auto-install/forks","keys_url":"https://api.github.com/repos/siddharthkp/auto-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siddharthkp/auto-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siddharthkp/auto-install/teams","hooks_url":"https://api.github.com/repos/siddharthkp/auto-install/hooks","issue_events_url":"https://api.github.com/repos/siddharthkp/auto-install/issues/events{/number}","events_url":"https://api.github.com/repos/siddharthkp/auto-install/events","assignees_url":"https://api.github.com/repos/siddharthkp/auto-install/assignees{/user}","branches_url":"https://api.github.com/repos/siddharthkp/auto-install/branches{/branch}","tags_url":"https://api.github.com/repos/siddharthkp/auto-install/tags","blobs_url":"https://api.github.com/repos/siddharthkp/auto-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siddharthkp/auto-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siddharthkp/auto-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/siddharthkp/auto-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siddharthkp/auto-install/statuses/{sha}","languages_url":"https://api.github.com/repos/siddharthkp/auto-install/languages","stargazers_url":"https://api.github.com/repos/siddharthkp/auto-install/stargazers","contributors_url":"https://api.github.com/repos/siddharthkp/auto-install/contributors","subscribers_url":"https://api.github.com/repos/siddharthkp/auto-install/subscribers","subscription_url":"https://api.github.com/repos/siddharthkp/auto-install/subscription","commits_url":"https://api.github.com/repos/siddharthkp/auto-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/siddharthkp/auto-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/siddharthkp/auto-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/siddharthkp/auto-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/siddharthkp/auto-install/contents/{+path}","compare_url":"https://api.github.com/repos/siddharthkp/auto-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siddharthkp/auto-install/merges","archive_url":"https://api.github.com/repos/siddharthkp/auto-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siddharthkp/auto-install/downloads","issues_url":"https://api.github.com/repos/siddharthkp/auto-install/issues{/number}","pulls_url":"https://api.github.com/repos/siddharthkp/auto-install/pulls{/number}","milestones_url":"https://api.github.com/repos/siddharthkp/auto-install/milestones{/number}","notifications_url":"https://api.github.com/repos/siddharthkp/auto-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siddharthkp/auto-install/labels{/name}","releases_url":"https://api.github.com/repos/siddharthkp/auto-install/releases{/id}","deployments_url":"https://api.github.com/repos/siddharthkp/auto-install/deployments","created_at":"2016-08-07T13:34:53Z","updated_at":"2016-08-09T17:34:50Z","pushed_at":"2016-08-09T17:57:33Z","git_url":"git://github.com/siddharthkp/auto-install.git","ssh_url":"git@github.com:siddharthkp/auto-install.git","clone_url":"https://github.com/siddharthkp/auto-install.git","svn_url":"https://github.com/siddharthkp/auto-install","homepage":"","size":453,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5"},"html":{"href":"https://github.com/siddharthkp/auto-install/pull/5"},"issue":{"href":"https://api.github.com/repos/siddharthkp/auto-install/issues/5"},"comments":{"href":"https://api.github.com/repos/siddharthkp/auto-install/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siddharthkp/auto-install/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/siddharthkp/auto-install/statuses/c274ddc9517c3dc977e95376992ed3a1d502a30c"}}}}
{"actor":{"display_login":"shubhamgautam"}}