{"action":"created","comment":{"url":"https://api.github.com/repos/andela/banasko-cfh/pulls/comments/89042760","pull_request_review_id":9594190,"id":89042760,"diff_hunk":"@@ -14,20 +17,20 @@ var express = require('express'),\n \n //Load configurations\n //if test env, load example file\n-var env = process.env.NODE_ENV = process.env.NODE_ENV || 'development',\n+let env = process.env.NODE_ENV = process.env.NODE_ENV || 'development',\n     config = require('./config/config'),\n     auth = require('./config/middlewares/authorization'),\n     mongoose = require('mongoose');\n \n //Bootstrap db connection\n-var db = mongoose.connect(config.db);\n+const db = mongoose.connect(config.db);\n \n //Bootstrap models\n-var models_path = __dirname + '/app/models';\n-var walk = function(path) {\n+const models_path = __dirname + '/app/models';","path":"server.js","position":33,"original_position":33,"commit_id":"3acb8c4256063d37db9597a1cde60af4e8fd653e","original_commit_id":"3acb8c4256063d37db9597a1cde60af4e8fd653e","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Identifier 'models_path' is not in camel case.","created_at":"2016-11-22T04:43:31Z","updated_at":"2016-11-22T04:43:31Z","html_url":"https://github.com/andela/banasko-cfh/pull/3#discussion_r89042760","pull_request_url":"https://api.github.com/repos/andela/banasko-cfh/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/comments/89042760"},"html":{"href":"https://github.com/andela/banasko-cfh/pull/3#discussion_r89042760"},"pull_request":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/andela/banasko-cfh/pulls/3","id":93719770,"html_url":"https://github.com/andela/banasko-cfh/pull/3","diff_url":"https://github.com/andela/banasko-cfh/pull/3.diff","patch_url":"https://github.com/andela/banasko-cfh/pull/3.patch","issue_url":"https://api.github.com/repos/andela/banasko-cfh/issues/3","number":3,"state":"open","locked":false,"title":"#134249123 Environment setup for frontend testing","user":{"login":"andela-emurphy","id":23451291,"avatar_url":"https://avatars.githubusercontent.com/u/23451291?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-emurphy","html_url":"https://github.com/andela-emurphy","followers_url":"https://api.github.com/users/andela-emurphy/followers","following_url":"https://api.github.com/users/andela-emurphy/following{/other_user}","gists_url":"https://api.github.com/users/andela-emurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-emurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-emurphy/subscriptions","organizations_url":"https://api.github.com/users/andela-emurphy/orgs","repos_url":"https://api.github.com/users/andela-emurphy/repos","events_url":"https://api.github.com/users/andela-emurphy/events{/privacy}","received_events_url":"https://api.github.com/users/andela-emurphy/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?   \r\n  Setup unit testing for the frontend\r\n#### Description of Task to be completed?\r\n  Environment setup for  testing on the frontend using  jasmine, karma (with PhantomJS, Chrome, and Firefox)\r\n#### How should this be manually tested?\r\n   Run \"karma start\"     ","created_at":"2016-11-15T08:21:57Z","updated_at":"2016-11-22T04:43:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"546b6c86d01144223f1f8429422413ca7ce0d0fa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/banasko-cfh/pulls/3/commits","review_comments_url":"https://api.github.com/repos/andela/banasko-cfh/pulls/3/comments","review_comment_url":"https://api.github.com/repos/andela/banasko-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/banasko-cfh/issues/3/comments","statuses_url":"https://api.github.com/repos/andela/banasko-cfh/statuses/3acb8c4256063d37db9597a1cde60af4e8fd653e","head":{"label":"andela:chore/134249123/frontend-testing-setup","ref":"chore/134249123/frontend-testing-setup","sha":"3acb8c4256063d37db9597a1cde60af4e8fd653e","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":73644823,"name":"banasko-cfh","full_name":"andela/banasko-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/banasko-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/banasko-cfh","forks_url":"https://api.github.com/repos/andela/banasko-cfh/forks","keys_url":"https://api.github.com/repos/andela/banasko-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/banasko-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/banasko-cfh/teams","hooks_url":"https://api.github.com/repos/andela/banasko-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/banasko-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/banasko-cfh/events","assignees_url":"https://api.github.com/repos/andela/banasko-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/banasko-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/banasko-cfh/tags","blobs_url":"https://api.github.com/repos/andela/banasko-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/banasko-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/banasko-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/banasko-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/banasko-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/banasko-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/banasko-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/banasko-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/banasko-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/banasko-cfh/subscription","commits_url":"https://api.github.com/repos/andela/banasko-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/banasko-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/banasko-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/banasko-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/banasko-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/banasko-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/banasko-cfh/merges","archive_url":"https://api.github.com/repos/andela/banasko-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/banasko-cfh/downloads","issues_url":"https://api.github.com/repos/andela/banasko-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/banasko-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/banasko-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/banasko-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/banasko-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/banasko-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/banasko-cfh/deployments","created_at":"2016-11-13T21:42:09Z","updated_at":"2016-11-14T09:17:32Z","pushed_at":"2016-11-22T04:43:21Z","git_url":"git://github.com/andela/banasko-cfh.git","ssh_url":"git@github.com:andela/banasko-cfh.git","clone_url":"https://github.com/andela/banasko-cfh.git","svn_url":"https://github.com/andela/banasko-cfh","homepage":null,"size":9309,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"development"}},"base":{"label":"andela:development","ref":"development","sha":"46751cb7ae49c3627fe18bd13c1cc0d9b889196a","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":73644823,"name":"banasko-cfh","full_name":"andela/banasko-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/banasko-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/banasko-cfh","forks_url":"https://api.github.com/repos/andela/banasko-cfh/forks","keys_url":"https://api.github.com/repos/andela/banasko-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/banasko-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/banasko-cfh/teams","hooks_url":"https://api.github.com/repos/andela/banasko-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/banasko-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/banasko-cfh/events","assignees_url":"https://api.github.com/repos/andela/banasko-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/banasko-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/banasko-cfh/tags","blobs_url":"https://api.github.com/repos/andela/banasko-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/banasko-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/banasko-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/banasko-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/banasko-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/banasko-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/banasko-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/banasko-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/banasko-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/banasko-cfh/subscription","commits_url":"https://api.github.com/repos/andela/banasko-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/banasko-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/banasko-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/banasko-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/banasko-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/banasko-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/banasko-cfh/merges","archive_url":"https://api.github.com/repos/andela/banasko-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/banasko-cfh/downloads","issues_url":"https://api.github.com/repos/andela/banasko-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/banasko-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/banasko-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/banasko-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/banasko-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/banasko-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/banasko-cfh/deployments","created_at":"2016-11-13T21:42:09Z","updated_at":"2016-11-14T09:17:32Z","pushed_at":"2016-11-22T04:43:21Z","git_url":"git://github.com/andela/banasko-cfh.git","ssh_url":"git@github.com:andela/banasko-cfh.git","clone_url":"https://github.com/andela/banasko-cfh.git","svn_url":"https://github.com/andela/banasko-cfh","homepage":null,"size":9309,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/3"},"html":{"href":"https://github.com/andela/banasko-cfh/pull/3"},"issue":{"href":"https://api.github.com/repos/andela/banasko-cfh/issues/3"},"comments":{"href":"https://api.github.com/repos/andela/banasko-cfh/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/banasko-cfh/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/andela/banasko-cfh/statuses/3acb8c4256063d37db9597a1cde60af4e8fd653e"}}}}
{"actor":{"display_login":"houndci-bot"}}