{"action":"created","comment":{"url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/comments/95977118","pull_request_review_id":16549009,"id":95977118,"diff_hunk":"@@ -0,0 +1,79 @@\n+// Karma configuration\n+// Generated on Tue Jan 10 2017 18:01:50 GMT+0100 (WAT)\n+\n+module.exports = function(config) {\n+  config.set({\n+\n+    // base path that will be used to resolve all patterns (eg. files, exclude)\n+    basePath: '',\n+\n+\n+    // frameworks to use\n+    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter\n+    frameworks: ['jasmine'],\n+\n+\n+    // list of files / patterns to load in the browser\n+    files: [\n+      '\"test/**/*Spec.js\"',\n+      '\"test/unit/TestSpec.js\"',\n+      'test/unit/TestSpec.js'\n+    ],\n+\n+\n+    // list of files to exclude\n+    exclude: [\n+    ],\n+\n+\n+    /* preprocess matching files before serving them to the browser\n+     * available preprocessors: \n+     * https://npmjs.org/browse/keyword/karma-preprocessor\n+     */\n+    preprocessors: {\n+    },\n+\n+\n+    // test results reporter to use\n+    // possible values: 'dots', 'progress'\n+    // available reporters: https://npmjs.org/browse/keyword/karma-reporter\n+    reporters: ['progress'],\n+\n+\n+    // web server port\n+    port: 9876,\n+\n+\n+    // enable / disable colors in the output (reporters and logs)\n+    colors: true,\n+\n+\n+    /*  level of logging\n+     *  possible values: config.LOG_DISABLE || config.LOG_ERROR ","path":"karma.conf.js","position":52,"original_position":52,"commit_id":"dcee312d3386a6cd34c87a097056f5d0a60e6c06","original_commit_id":"dcee312d3386a6cd34c87a097056f5d0a60e6c06","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":"Trailing spaces not allowed                no-trailing-spaces","created_at":"2017-01-13T11:09:42Z","updated_at":"2017-01-13T11:09:42Z","html_url":"https://github.com/andela/tsunade-cfh/pull/5#discussion_r95977118","pull_request_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/comments/95977118"},"html":{"href":"https://github.com/andela/tsunade-cfh/pull/5#discussion_r95977118"},"pull_request":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5","id":101116765,"html_url":"https://github.com/andela/tsunade-cfh/pull/5","diff_url":"https://github.com/andela/tsunade-cfh/pull/5.diff","patch_url":"https://github.com/andela/tsunade-cfh/pull/5.patch","issue_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/5","number":5,"state":"open","locked":false,"title":"#137090909 Setup App with Jasmine and Karma","user":{"login":"andela-nrotimi","id":24937779,"avatar_url":"https://avatars.githubusercontent.com/u/24937779?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-nrotimi","html_url":"https://github.com/andela-nrotimi","followers_url":"https://api.github.com/users/andela-nrotimi/followers","following_url":"https://api.github.com/users/andela-nrotimi/following{/other_user}","gists_url":"https://api.github.com/users/andela-nrotimi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-nrotimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-nrotimi/subscriptions","organizations_url":"https://api.github.com/users/andela-nrotimi/orgs","repos_url":"https://api.github.com/users/andela-nrotimi/repos","events_url":"https://api.github.com/users/andela-nrotimi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-nrotimi/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR setup the existing application with Jasmine and Karma \r\n#### Description of Task to be completed?\r\nTo ensure the front end has all functionality work the way it was intended. Use Jasmine and Karma(with PhantomJS, Chrome and Firefox) to setup front end testing environment.\r\n#### How should this be manually tested?\r\nThis is tested by running a cloned and installed copy of the repo and installing all the dependencies for jasmine and karma and running the test(s) to see them pass and fail.\r\n#### Any background context you want to provide?\r\nNo\r\n#### What are the relevant pivotal tracker stories?\r\nSetup unit testing for the front end\r\n#### Screenshots (if appropriate)\r\n<img width=\"1280\" alt=\"test_shot\" src=\"https://cloud.githubusercontent.com/assets/24937779/21859301/5ad3c6aa-d82c-11e6-95b7-0975978281ea.png\">\r\n#### Questions:\r\nNo\r\n\r\n","created_at":"2017-01-11T17:59:05Z","updated_at":"2017-01-13T11:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ef8e3eaa8ec3f18af85714a5971bf7148bd7439","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/5/comments","statuses_url":"https://api.github.com/repos/andela/tsunade-cfh/statuses/dcee312d3386a6cd34c87a097056f5d0a60e6c06","head":{"label":"andela:core/137090909/integrate-jasmine-karma","ref":"core/137090909/integrate-jasmine-karma","sha":"dcee312d3386a6cd34c87a097056f5d0a60e6c06","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":78098431,"name":"tsunade-cfh","full_name":"andela/tsunade-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/tsunade-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/tsunade-cfh","forks_url":"https://api.github.com/repos/andela/tsunade-cfh/forks","keys_url":"https://api.github.com/repos/andela/tsunade-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/tsunade-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/tsunade-cfh/teams","hooks_url":"https://api.github.com/repos/andela/tsunade-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/tsunade-cfh/events","assignees_url":"https://api.github.com/repos/andela/tsunade-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/tsunade-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/tsunade-cfh/tags","blobs_url":"https://api.github.com/repos/andela/tsunade-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/tsunade-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/tsunade-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/tsunade-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/tsunade-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/tsunade-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/tsunade-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/tsunade-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/tsunade-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/tsunade-cfh/subscription","commits_url":"https://api.github.com/repos/andela/tsunade-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/tsunade-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/tsunade-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/tsunade-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/tsunade-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/tsunade-cfh/merges","archive_url":"https://api.github.com/repos/andela/tsunade-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/tsunade-cfh/downloads","issues_url":"https://api.github.com/repos/andela/tsunade-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/tsunade-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/tsunade-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/tsunade-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/tsunade-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/tsunade-cfh/deployments","created_at":"2017-01-05T09:19:52Z","updated_at":"2017-01-05T12:52:57Z","pushed_at":"2017-01-13T11:09:37Z","git_url":"git://github.com/andela/tsunade-cfh.git","ssh_url":"git@github.com:andela/tsunade-cfh.git","clone_url":"https://github.com/andela/tsunade-cfh.git","svn_url":"https://github.com/andela/tsunade-cfh","homepage":null,"size":9556,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"eebb4f99cfc8ee128180d7990e1860a5ff1ddaf2","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":78098431,"name":"tsunade-cfh","full_name":"andela/tsunade-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/tsunade-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/tsunade-cfh","forks_url":"https://api.github.com/repos/andela/tsunade-cfh/forks","keys_url":"https://api.github.com/repos/andela/tsunade-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/tsunade-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/tsunade-cfh/teams","hooks_url":"https://api.github.com/repos/andela/tsunade-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/tsunade-cfh/events","assignees_url":"https://api.github.com/repos/andela/tsunade-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/tsunade-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/tsunade-cfh/tags","blobs_url":"https://api.github.com/repos/andela/tsunade-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/tsunade-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/tsunade-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/tsunade-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/tsunade-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/tsunade-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/tsunade-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/tsunade-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/tsunade-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/tsunade-cfh/subscription","commits_url":"https://api.github.com/repos/andela/tsunade-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/tsunade-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/tsunade-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/tsunade-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/tsunade-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/tsunade-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/tsunade-cfh/merges","archive_url":"https://api.github.com/repos/andela/tsunade-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/tsunade-cfh/downloads","issues_url":"https://api.github.com/repos/andela/tsunade-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/tsunade-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/tsunade-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/tsunade-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/tsunade-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/tsunade-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/tsunade-cfh/deployments","created_at":"2017-01-05T09:19:52Z","updated_at":"2017-01-05T12:52:57Z","pushed_at":"2017-01-13T11:09:37Z","git_url":"git://github.com/andela/tsunade-cfh.git","ssh_url":"git@github.com:andela/tsunade-cfh.git","clone_url":"https://github.com/andela/tsunade-cfh.git","svn_url":"https://github.com/andela/tsunade-cfh","homepage":null,"size":9556,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5"},"html":{"href":"https://github.com/andela/tsunade-cfh/pull/5"},"issue":{"href":"https://api.github.com/repos/andela/tsunade-cfh/issues/5"},"comments":{"href":"https://api.github.com/repos/andela/tsunade-cfh/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/tsunade-cfh/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andela/tsunade-cfh/statuses/dcee312d3386a6cd34c87a097056f5d0a60e6c06"}}}}
{"actor":{"display_login":"houndci-bot"}}