{"action":"created","comment":{"url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/comments/56285534","id":56285534,"diff_hunk":"@@ -33,15 +33,47 @@ module.exports = function(config) {\n       'bower_components/keyboard/dist/layouts/keyboard-layouts-greywyvern.min.js',\n       'bower_components/angular-route/angular-route.js',\n       'bower_components/angular-ui-router/release/angular-ui-router.js',\n+      'bower_components/angular-mocks/angular-mocks.js',\n+      'bower_components/angular-cookies/angular-cookies.js',\n+      'bower_components/Chart.js/Chart.min.js',\n+      'bower_components/angular-chart.js/dist/angular-chart.min.js',\n+      'bower_components/ng-clip/dest/ng-clip.min.js',\n+      'bower_components/angular-local-storage/dist/angular-local-storage.min.js',\n+      'bower_components/zeroclipboard/dist/ZeroClipboard.min.js',\n       // endbower\n-      \"app/scripts/**/*.js\",\n-      \"test/mock/**/*.js\",\n-      \"test/spec/**/*.js\"\n+      // application dependencies\n+      'app/common/application/init.js',","path":"test/karma.conf.js","position":16,"original_position":16,"commit_id":"f372e4caf1a8e1fb1afef052396b7867a062f3c1","original_commit_id":"f372e4caf1a8e1fb1afef052396b7867a062f3c1","user":{"login":"psbrandt","id":668093,"avatar_url":"https://avatars.githubusercontent.com/u/668093?v=3","gravatar_id":"","url":"https://api.github.com/users/psbrandt","html_url":"https://github.com/psbrandt","followers_url":"https://api.github.com/users/psbrandt/followers","following_url":"https://api.github.com/users/psbrandt/following{/other_user}","gists_url":"https://api.github.com/users/psbrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/psbrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psbrandt/subscriptions","organizations_url":"https://api.github.com/users/psbrandt/orgs","repos_url":"https://api.github.com/users/psbrandt/repos","events_url":"https://api.github.com/users/psbrandt/events{/privacy}","received_events_url":"https://api.github.com/users/psbrandt/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Strings must use doublequote.](https://www.codacy.com/app/psbrandt/esaude-poc-ui-prototype/file/2253780399/issues/source?bid=3180890&fileBranchId=3181783#l45)","created_at":"2016-03-16T06:08:53Z","updated_at":"2016-03-16T06:08:53Z","html_url":"https://github.com/esaude/poc-ui-prototype/pull/6#discussion_r56285534","pull_request_url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/comments/56285534"},"html":{"href":"https://github.com/esaude/poc-ui-prototype/pull/6#discussion_r56285534"},"pull_request":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6","id":63015652,"html_url":"https://github.com/esaude/poc-ui-prototype/pull/6","diff_url":"https://github.com/esaude/poc-ui-prototype/pull/6.diff","patch_url":"https://github.com/esaude/poc-ui-prototype/pull/6.patch","issue_url":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/6","number":6,"state":"open","locked":false,"title":"Setup Testing, CI & Code Quality Tracking","user":{"login":"psbrandt","id":668093,"avatar_url":"https://avatars.githubusercontent.com/u/668093?v=3","gravatar_id":"","url":"https://api.github.com/users/psbrandt","html_url":"https://github.com/psbrandt","followers_url":"https://api.github.com/users/psbrandt/followers","following_url":"https://api.github.com/users/psbrandt/following{/other_user}","gists_url":"https://api.github.com/users/psbrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/psbrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psbrandt/subscriptions","organizations_url":"https://api.github.com/users/psbrandt/orgs","repos_url":"https://api.github.com/users/psbrandt/repos","events_url":"https://api.github.com/users/psbrandt/events{/privacy}","received_events_url":"https://api.github.com/users/psbrandt/received_events","type":"User","site_admin":false},"body":"This PR sets up testing and more. The following tasks have been completed:\r\n\r\n - [x] Karma & Jasmine configurations have been corrected\r\n - [x] Unit tests have been written for [loginController](https://github.com/psbrandt/poc-ui-prototype/blob/setup-testing/test/spec/controllers/loginController.spec.js) ([100% coverage](https://coveralls.io/builds/5432547/source?filename=app%2Fhome%2Fcontrollers%2FloginController.js))\r\n - [x] [Travis CI](https://travis-ci.org/psbrandt/poc-ui-prototype) has been configured to automatically run the tests on push and PR\r\n - [x] Travis will report to [Codacy](https://www.codacy.com/app/psbrandt/psbrandt-poc-ui-prototype/dashboard) so we can track code quality\r\n - [x] Travis will report test coverage to both Codacy and [Coveralls](https://coveralls.io/github/psbrandt/poc-ui-prototype)\r\n - [x] Travis, Codacy & Coveralls will run checks on all PRs (click _Show all checks_ below)\r\n - [x] Shields added to repo for above metrics plus [dependencies](https://david-dm.org/esaude/poc-ui-prototype)\r\n\r\nThe shields won't work correctly until this PR is merged. When it is, they will look like:\r\n\r\n[![Build Status](https://img.shields.io/travis/psbrandt/poc-ui-prototype/master.svg)](https://travis-ci.org/psbrandt/poc-ui-prototype) [![Code Quality](https://img.shields.io/codacy/aedf18e7c6f44a8dbac4ddc67fd6c36e/master.svg)](https://www.codacy.com/app/psbrandt/psbrandt-poc-ui-prototype) [![Test Coverage](https://api.codacy.com/project/badge/coverage/aedf18e7c6f44a8dbac4ddc67fd6c36e)](https://coveralls.io/github/psbrandt/poc-ui-prototype) [![Dependencies](https://img.shields.io/david/psbrandt/poc-ui-prototype.svg)](https://david-dm.org/psbrandt/poc-ui-prototype) [![eSaude Version](https://omrs-shields.psbrandt.io/custom/esaude/v1.2.0/brightgreen?logo=esaude)](http://www.esaude.org/technical-resources/esaude-emr-versions)","created_at":"2016-03-16T05:24:30Z","updated_at":"2016-03-16T06:08:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a89ab48ec28f67136dbd73c21569ccc2108894d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6/commits","review_comments_url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6/comments","review_comment_url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/6/comments","statuses_url":"https://api.github.com/repos/esaude/poc-ui-prototype/statuses/f372e4caf1a8e1fb1afef052396b7867a062f3c1","head":{"label":"psbrandt:setup-testing","ref":"setup-testing","sha":"f372e4caf1a8e1fb1afef052396b7867a062f3c1","user":{"login":"psbrandt","id":668093,"avatar_url":"https://avatars.githubusercontent.com/u/668093?v=3","gravatar_id":"","url":"https://api.github.com/users/psbrandt","html_url":"https://github.com/psbrandt","followers_url":"https://api.github.com/users/psbrandt/followers","following_url":"https://api.github.com/users/psbrandt/following{/other_user}","gists_url":"https://api.github.com/users/psbrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/psbrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psbrandt/subscriptions","organizations_url":"https://api.github.com/users/psbrandt/orgs","repos_url":"https://api.github.com/users/psbrandt/repos","events_url":"https://api.github.com/users/psbrandt/events{/privacy}","received_events_url":"https://api.github.com/users/psbrandt/received_events","type":"User","site_admin":false},"repo":{"id":53819224,"name":"poc-ui-prototype","full_name":"psbrandt/poc-ui-prototype","owner":{"login":"psbrandt","id":668093,"avatar_url":"https://avatars.githubusercontent.com/u/668093?v=3","gravatar_id":"","url":"https://api.github.com/users/psbrandt","html_url":"https://github.com/psbrandt","followers_url":"https://api.github.com/users/psbrandt/followers","following_url":"https://api.github.com/users/psbrandt/following{/other_user}","gists_url":"https://api.github.com/users/psbrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/psbrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psbrandt/subscriptions","organizations_url":"https://api.github.com/users/psbrandt/orgs","repos_url":"https://api.github.com/users/psbrandt/repos","events_url":"https://api.github.com/users/psbrandt/events{/privacy}","received_events_url":"https://api.github.com/users/psbrandt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psbrandt/poc-ui-prototype","description":"","fork":true,"url":"https://api.github.com/repos/psbrandt/poc-ui-prototype","forks_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/forks","keys_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/teams","hooks_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/hooks","issue_events_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/issues/events{/number}","events_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/events","assignees_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/assignees{/user}","branches_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/branches{/branch}","tags_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/tags","blobs_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/languages","stargazers_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/stargazers","contributors_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/contributors","subscribers_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/subscribers","subscription_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/subscription","commits_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/contents/{+path}","compare_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/merges","archive_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/downloads","issues_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/issues{/number}","pulls_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/labels{/name}","releases_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/releases{/id}","deployments_url":"https://api.github.com/repos/psbrandt/poc-ui-prototype/deployments","created_at":"2016-03-14T01:58:45Z","updated_at":"2016-03-14T01:58:47Z","pushed_at":"2016-03-16T06:06:33Z","git_url":"git://github.com/psbrandt/poc-ui-prototype.git","ssh_url":"git@github.com:psbrandt/poc-ui-prototype.git","clone_url":"https://github.com/psbrandt/poc-ui-prototype.git","svn_url":"https://github.com/psbrandt/poc-ui-prototype","homepage":"http://www.esaude.org/community-projects/point-of-care","size":907,"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":"esaude:master","ref":"master","sha":"6419e989fac68e114fb69d4d5ec5ff2d1b20e6b2","user":{"login":"esaude","id":6670085,"avatar_url":"https://avatars.githubusercontent.com/u/6670085?v=3","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"repo":{"id":39776128,"name":"poc-ui-prototype","full_name":"esaude/poc-ui-prototype","owner":{"login":"esaude","id":6670085,"avatar_url":"https://avatars.githubusercontent.com/u/6670085?v=3","gravatar_id":"","url":"https://api.github.com/users/esaude","html_url":"https://github.com/esaude","followers_url":"https://api.github.com/users/esaude/followers","following_url":"https://api.github.com/users/esaude/following{/other_user}","gists_url":"https://api.github.com/users/esaude/gists{/gist_id}","starred_url":"https://api.github.com/users/esaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esaude/subscriptions","organizations_url":"https://api.github.com/users/esaude/orgs","repos_url":"https://api.github.com/users/esaude/repos","events_url":"https://api.github.com/users/esaude/events{/privacy}","received_events_url":"https://api.github.com/users/esaude/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esaude/poc-ui-prototype","description":"","fork":false,"url":"https://api.github.com/repos/esaude/poc-ui-prototype","forks_url":"https://api.github.com/repos/esaude/poc-ui-prototype/forks","keys_url":"https://api.github.com/repos/esaude/poc-ui-prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esaude/poc-ui-prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esaude/poc-ui-prototype/teams","hooks_url":"https://api.github.com/repos/esaude/poc-ui-prototype/hooks","issue_events_url":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/events{/number}","events_url":"https://api.github.com/repos/esaude/poc-ui-prototype/events","assignees_url":"https://api.github.com/repos/esaude/poc-ui-prototype/assignees{/user}","branches_url":"https://api.github.com/repos/esaude/poc-ui-prototype/branches{/branch}","tags_url":"https://api.github.com/repos/esaude/poc-ui-prototype/tags","blobs_url":"https://api.github.com/repos/esaude/poc-ui-prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esaude/poc-ui-prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esaude/poc-ui-prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/esaude/poc-ui-prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esaude/poc-ui-prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/esaude/poc-ui-prototype/languages","stargazers_url":"https://api.github.com/repos/esaude/poc-ui-prototype/stargazers","contributors_url":"https://api.github.com/repos/esaude/poc-ui-prototype/contributors","subscribers_url":"https://api.github.com/repos/esaude/poc-ui-prototype/subscribers","subscription_url":"https://api.github.com/repos/esaude/poc-ui-prototype/subscription","commits_url":"https://api.github.com/repos/esaude/poc-ui-prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/esaude/poc-ui-prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/esaude/poc-ui-prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/esaude/poc-ui-prototype/contents/{+path}","compare_url":"https://api.github.com/repos/esaude/poc-ui-prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esaude/poc-ui-prototype/merges","archive_url":"https://api.github.com/repos/esaude/poc-ui-prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esaude/poc-ui-prototype/downloads","issues_url":"https://api.github.com/repos/esaude/poc-ui-prototype/issues{/number}","pulls_url":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/esaude/poc-ui-prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/esaude/poc-ui-prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esaude/poc-ui-prototype/labels{/name}","releases_url":"https://api.github.com/repos/esaude/poc-ui-prototype/releases{/id}","deployments_url":"https://api.github.com/repos/esaude/poc-ui-prototype/deployments","created_at":"2015-07-27T13:34:24Z","updated_at":"2016-01-15T08:25:05Z","pushed_at":"2016-03-16T06:06:34Z","git_url":"git://github.com/esaude/poc-ui-prototype.git","ssh_url":"git@github.com:esaude/poc-ui-prototype.git","clone_url":"https://github.com/esaude/poc-ui-prototype.git","svn_url":"https://github.com/esaude/poc-ui-prototype","homepage":"http://www.esaude.org/community-projects/point-of-care","size":892,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6"},"html":{"href":"https://github.com/esaude/poc-ui-prototype/pull/6"},"issue":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/6"},"comments":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/esaude/poc-ui-prototype/statuses/f372e4caf1a8e1fb1afef052396b7867a062f3c1"}}}}