{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-raptor/test/pulls/comments/48752998","id":48752998,"diff_hunk":"@@ -0,0 +1,323 @@\n+'use strict';\n+\n+let assert = require('chai').assert;\n+let coldlaunch = require('../lib/phases/cold-launch.js');\n+\n+let OPTIONS = {\n+  'app': 'communications',\n+  'entryPoint': 'contacts',\n+  'homescreen': 'homescreen.gaiamobile.org',\n+  'system': 'system.gaiamobile.org',\n+  'memoryDelay': 10000,\n+  'launchDelay': 20000,\n+  'metrics': 'metrics.ldjson',\n+  'runs': 30,\n+  'timeout': 30000,\n+  'retries': 3\n+};\n+\n+let COLDLAUNCH_TITLE = 'Cold Launch: ' + OPTIONS.app;\n+let COLDLAUNCH_NAME = 'coldlaunch';\n+let COLDLAUNCH_START_MARK = 'appLaunch';\n+\n+// cold-launch unit tests\n+describe('cold-launch', function() {\n+\n+  describe('constructor', function() {\n+\n+    var myColdLaunch = new coldlaunch(OPTIONS);","path":"unit-tests/test-coldlaunch.js","position":28,"original_position":28,"commit_id":"14a4622576a15fb33b94759fa46605b4a1555309","original_commit_id":"14a4622576a15fb33b94759fa46605b4a1555309","user":{"login":"eliperelman","id":285899,"avatar_url":"https://avatars.githubusercontent.com/u/285899?v=3","gravatar_id":"","url":"https://api.github.com/users/eliperelman","html_url":"https://github.com/eliperelman","followers_url":"https://api.github.com/users/eliperelman/followers","following_url":"https://api.github.com/users/eliperelman/following{/other_user}","gists_url":"https://api.github.com/users/eliperelman/gists{/gist_id}","starred_url":"https://api.github.com/users/eliperelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliperelman/subscriptions","organizations_url":"https://api.github.com/users/eliperelman/orgs","repos_url":"https://api.github.com/users/eliperelman/repos","events_url":"https://api.github.com/users/eliperelman/events{/privacy}","received_events_url":"https://api.github.com/users/eliperelman/received_events","type":"User","site_admin":false},"body":"Switch `var` to `let`. Remove extra whitespace above declaration.","created_at":"2016-01-04T17:02:45Z","updated_at":"2016-01-04T17:02:45Z","html_url":"https://github.com/mozilla-raptor/test/pull/41#discussion_r48752998","pull_request_url":"https://api.github.com/repos/mozilla-raptor/test/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/comments/48752998"},"html":{"href":"https://github.com/mozilla-raptor/test/pull/41#discussion_r48752998"},"pull_request":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-raptor/test/pulls/41","id":54762313,"html_url":"https://github.com/mozilla-raptor/test/pull/41","diff_url":"https://github.com/mozilla-raptor/test/pull/41.diff","patch_url":"https://github.com/mozilla-raptor/test/pull/41.patch","issue_url":"https://api.github.com/repos/mozilla-raptor/test/issues/41","number":41,"state":"open","locked":false,"title":"Bug 1211497 - Add preliminary unit tests","user":{"login":"rwood-moz","id":2198968,"avatar_url":"https://avatars.githubusercontent.com/u/2198968?v=3","gravatar_id":"","url":"https://api.github.com/users/rwood-moz","html_url":"https://github.com/rwood-moz","followers_url":"https://api.github.com/users/rwood-moz/followers","following_url":"https://api.github.com/users/rwood-moz/following{/other_user}","gists_url":"https://api.github.com/users/rwood-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/rwood-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwood-moz/subscriptions","organizations_url":"https://api.github.com/users/rwood-moz/orgs","repos_url":"https://api.github.com/users/rwood-moz/repos","events_url":"https://api.github.com/users/rwood-moz/events{/privacy}","received_events_url":"https://api.github.com/users/rwood-moz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-29T22:09:08Z","updated_at":"2016-01-04T17:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f785f5c0a61771fb364f3291338ed75b145dcce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-raptor/test/pulls/41/commits","review_comments_url":"https://api.github.com/repos/mozilla-raptor/test/pulls/41/comments","review_comment_url":"https://api.github.com/repos/mozilla-raptor/test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-raptor/test/issues/41/comments","statuses_url":"https://api.github.com/repos/mozilla-raptor/test/statuses/14a4622576a15fb33b94759fa46605b4a1555309","head":{"label":"rwood-moz:bug1211497","ref":"bug1211497","sha":"14a4622576a15fb33b94759fa46605b4a1555309","user":{"login":"rwood-moz","id":2198968,"avatar_url":"https://avatars.githubusercontent.com/u/2198968?v=3","gravatar_id":"","url":"https://api.github.com/users/rwood-moz","html_url":"https://github.com/rwood-moz","followers_url":"https://api.github.com/users/rwood-moz/followers","following_url":"https://api.github.com/users/rwood-moz/following{/other_user}","gists_url":"https://api.github.com/users/rwood-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/rwood-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwood-moz/subscriptions","organizations_url":"https://api.github.com/users/rwood-moz/orgs","repos_url":"https://api.github.com/users/rwood-moz/repos","events_url":"https://api.github.com/users/rwood-moz/events{/privacy}","received_events_url":"https://api.github.com/users/rwood-moz/received_events","type":"User","site_admin":false},"repo":{"id":39016067,"name":"test","full_name":"rwood-moz/test","owner":{"login":"rwood-moz","id":2198968,"avatar_url":"https://avatars.githubusercontent.com/u/2198968?v=3","gravatar_id":"","url":"https://api.github.com/users/rwood-moz","html_url":"https://github.com/rwood-moz","followers_url":"https://api.github.com/users/rwood-moz/followers","following_url":"https://api.github.com/users/rwood-moz/following{/other_user}","gists_url":"https://api.github.com/users/rwood-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/rwood-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwood-moz/subscriptions","organizations_url":"https://api.github.com/users/rwood-moz/orgs","repos_url":"https://api.github.com/users/rwood-moz/repos","events_url":"https://api.github.com/users/rwood-moz/events{/privacy}","received_events_url":"https://api.github.com/users/rwood-moz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwood-moz/test","description":"@mozilla/raptor CLI tool for performance testing Firefox OS","fork":true,"url":"https://api.github.com/repos/rwood-moz/test","forks_url":"https://api.github.com/repos/rwood-moz/test/forks","keys_url":"https://api.github.com/repos/rwood-moz/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwood-moz/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwood-moz/test/teams","hooks_url":"https://api.github.com/repos/rwood-moz/test/hooks","issue_events_url":"https://api.github.com/repos/rwood-moz/test/issues/events{/number}","events_url":"https://api.github.com/repos/rwood-moz/test/events","assignees_url":"https://api.github.com/repos/rwood-moz/test/assignees{/user}","branches_url":"https://api.github.com/repos/rwood-moz/test/branches{/branch}","tags_url":"https://api.github.com/repos/rwood-moz/test/tags","blobs_url":"https://api.github.com/repos/rwood-moz/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwood-moz/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwood-moz/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwood-moz/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwood-moz/test/statuses/{sha}","languages_url":"https://api.github.com/repos/rwood-moz/test/languages","stargazers_url":"https://api.github.com/repos/rwood-moz/test/stargazers","contributors_url":"https://api.github.com/repos/rwood-moz/test/contributors","subscribers_url":"https://api.github.com/repos/rwood-moz/test/subscribers","subscription_url":"https://api.github.com/repos/rwood-moz/test/subscription","commits_url":"https://api.github.com/repos/rwood-moz/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwood-moz/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwood-moz/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwood-moz/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwood-moz/test/contents/{+path}","compare_url":"https://api.github.com/repos/rwood-moz/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwood-moz/test/merges","archive_url":"https://api.github.com/repos/rwood-moz/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwood-moz/test/downloads","issues_url":"https://api.github.com/repos/rwood-moz/test/issues{/number}","pulls_url":"https://api.github.com/repos/rwood-moz/test/pulls{/number}","milestones_url":"https://api.github.com/repos/rwood-moz/test/milestones{/number}","notifications_url":"https://api.github.com/repos/rwood-moz/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwood-moz/test/labels{/name}","releases_url":"https://api.github.com/repos/rwood-moz/test/releases{/id}","created_at":"2015-07-13T14:10:54Z","updated_at":"2015-12-21T21:38:09Z","pushed_at":"2015-12-30T20:06:25Z","git_url":"git://github.com/rwood-moz/test.git","ssh_url":"git@github.com:rwood-moz/test.git","clone_url":"https://github.com/rwood-moz/test.git","svn_url":"https://github.com/rwood-moz/test","homepage":null,"size":211,"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":"mozilla-raptor:master","ref":"master","sha":"5c1a9c108394ec3e183fbe004800349a6ed78c78","user":{"login":"mozilla-raptor","id":14983110,"avatar_url":"https://avatars.githubusercontent.com/u/14983110?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-raptor","html_url":"https://github.com/mozilla-raptor","followers_url":"https://api.github.com/users/mozilla-raptor/followers","following_url":"https://api.github.com/users/mozilla-raptor/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-raptor/subscriptions","organizations_url":"https://api.github.com/users/mozilla-raptor/orgs","repos_url":"https://api.github.com/users/mozilla-raptor/repos","events_url":"https://api.github.com/users/mozilla-raptor/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-raptor/received_events","type":"Organization","site_admin":false},"repo":{"id":38768429,"name":"test","full_name":"mozilla-raptor/test","owner":{"login":"mozilla-raptor","id":14983110,"avatar_url":"https://avatars.githubusercontent.com/u/14983110?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-raptor","html_url":"https://github.com/mozilla-raptor","followers_url":"https://api.github.com/users/mozilla-raptor/followers","following_url":"https://api.github.com/users/mozilla-raptor/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-raptor/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-raptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-raptor/subscriptions","organizations_url":"https://api.github.com/users/mozilla-raptor/orgs","repos_url":"https://api.github.com/users/mozilla-raptor/repos","events_url":"https://api.github.com/users/mozilla-raptor/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-raptor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-raptor/test","description":"@mozilla/raptor CLI tool for performance testing Firefox OS","fork":false,"url":"https://api.github.com/repos/mozilla-raptor/test","forks_url":"https://api.github.com/repos/mozilla-raptor/test/forks","keys_url":"https://api.github.com/repos/mozilla-raptor/test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-raptor/test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-raptor/test/teams","hooks_url":"https://api.github.com/repos/mozilla-raptor/test/hooks","issue_events_url":"https://api.github.com/repos/mozilla-raptor/test/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-raptor/test/events","assignees_url":"https://api.github.com/repos/mozilla-raptor/test/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-raptor/test/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-raptor/test/tags","blobs_url":"https://api.github.com/repos/mozilla-raptor/test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-raptor/test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-raptor/test/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-raptor/test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-raptor/test/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-raptor/test/languages","stargazers_url":"https://api.github.com/repos/mozilla-raptor/test/stargazers","contributors_url":"https://api.github.com/repos/mozilla-raptor/test/contributors","subscribers_url":"https://api.github.com/repos/mozilla-raptor/test/subscribers","subscription_url":"https://api.github.com/repos/mozilla-raptor/test/subscription","commits_url":"https://api.github.com/repos/mozilla-raptor/test/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-raptor/test/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-raptor/test/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-raptor/test/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-raptor/test/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-raptor/test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-raptor/test/merges","archive_url":"https://api.github.com/repos/mozilla-raptor/test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-raptor/test/downloads","issues_url":"https://api.github.com/repos/mozilla-raptor/test/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-raptor/test/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-raptor/test/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-raptor/test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-raptor/test/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-raptor/test/releases{/id}","created_at":"2015-07-08T17:14:27Z","updated_at":"2015-12-21T21:29:37Z","pushed_at":"2016-01-04T16:56:29Z","git_url":"git://github.com/mozilla-raptor/test.git","ssh_url":"git@github.com:mozilla-raptor/test.git","clone_url":"https://github.com/mozilla-raptor/test.git","svn_url":"https://github.com/mozilla-raptor/test","homepage":null,"size":216,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/41"},"html":{"href":"https://github.com/mozilla-raptor/test/pull/41"},"issue":{"href":"https://api.github.com/repos/mozilla-raptor/test/issues/41"},"comments":{"href":"https://api.github.com/repos/mozilla-raptor/test/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-raptor/test/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-raptor/test/statuses/14a4622576a15fb33b94759fa46605b4a1555309"}}}}