{"action":"created","comment":{"url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/comments/85104820","pull_request_review_id":5838852,"id":85104820,"diff_hunk":"@@ -0,0 +1,113 @@\n+// Tests that launch the launcher with various options, while collecting istanbul code coverage reporting.\n+/* eslint-env node */\n+\"use strict\";\n+var fluid             = require(\"infusion\");\n+var gpii              = fluid.registerNamespace(\"gpii\");\n+var path              = require(\"path\");\n+var jqUnit            = require(\"node-jqunit\");\n+var os                = require(\"os\");\n+var child_process     = require(\"child_process\");\n+var istanbulPath      = fluid.module.resolvePath(\"%gpii-launcher/node_modules/istanbul/lib/cli.js\");\n+var launcherPath      = fluid.module.resolvePath(\"%gpii-launcher/tests/js/lib/harness.js\");\n+var coverageOutputDir = fluid.module.resolvePath(\"%gpii-launcher/coverage\");\n+var optionsFile       = fluid.module.resolvePath(\"%gpii-launcher/tests/data/workerCustomOptions.json\");\n+\n+fluid.registerNamespace(\"gpii.tests.launcher\");\n+\n+gpii.tests.launcher.runSingleTest = function (that, testDef) {\n+    jqUnit.test(testDef.message, function () {","path":"tests/js/launcher-tests.js","position":18,"original_position":18,"commit_id":"de16e831469ed549504c15048b0e868fc4b3da49","original_commit_id":"de16e831469ed549504c15048b0e868fc4b3da49","user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"body":"jqUnit.test immediately followed by jqUnit.stop is more idiomatically jqUnit.asyncTest","created_at":"2016-10-26T11:52:28Z","updated_at":"2016-10-26T11:52:29Z","html_url":"https://github.com/GPII/gpii-launcher/pull/1#discussion_r85104820","pull_request_url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/comments/85104820"},"html":{"href":"https://github.com/GPII/gpii-launcher/pull/1#discussion_r85104820"},"pull_request":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1","id":90677214,"html_url":"https://github.com/GPII/gpii-launcher/pull/1","diff_url":"https://github.com/GPII/gpii-launcher/pull/1.diff","patch_url":"https://github.com/GPII/gpii-launcher/pull/1.patch","issue_url":"https://api.github.com/repos/GPII/gpii-launcher/issues/1","number":1,"state":"open","locked":false,"title":"GPII-2103: Create a \"launcher\" that supports environment variables and command-line parameters...","user":{"login":"the-t-in-rtf","id":5765222,"avatar_url":"https://avatars.githubusercontent.com/u/5765222?v=3","gravatar_id":"","url":"https://api.github.com/users/the-t-in-rtf","html_url":"https://github.com/the-t-in-rtf","followers_url":"https://api.github.com/users/the-t-in-rtf/followers","following_url":"https://api.github.com/users/the-t-in-rtf/following{/other_user}","gists_url":"https://api.github.com/users/the-t-in-rtf/gists{/gist_id}","starred_url":"https://api.github.com/users/the-t-in-rtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-t-in-rtf/subscriptions","organizations_url":"https://api.github.com/users/the-t-in-rtf/orgs","repos_url":"https://api.github.com/users/the-t-in-rtf/repos","events_url":"https://api.github.com/users/the-t-in-rtf/events{/privacy}","received_events_url":"https://api.github.com/users/the-t-in-rtf/received_events","type":"User","site_admin":false},"body":"See [GPII-2103](https://issues.gpii.net/browse/GPII-2103) for details.","created_at":"2016-10-24T19:32:22Z","updated_at":"2016-10-26T11:52:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c080bc7deaa1c1440438bb43ac5e433e40ab4e1","assignee":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"assignees":[{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1/commits","review_comments_url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1/comments","review_comment_url":"https://api.github.com/repos/GPII/gpii-launcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GPII/gpii-launcher/issues/1/comments","statuses_url":"https://api.github.com/repos/GPII/gpii-launcher/statuses/de16e831469ed549504c15048b0e868fc4b3da49","head":{"label":"the-t-in-rtf:GPII-2103","ref":"GPII-2103","sha":"de16e831469ed549504c15048b0e868fc4b3da49","user":{"login":"the-t-in-rtf","id":5765222,"avatar_url":"https://avatars.githubusercontent.com/u/5765222?v=3","gravatar_id":"","url":"https://api.github.com/users/the-t-in-rtf","html_url":"https://github.com/the-t-in-rtf","followers_url":"https://api.github.com/users/the-t-in-rtf/followers","following_url":"https://api.github.com/users/the-t-in-rtf/following{/other_user}","gists_url":"https://api.github.com/users/the-t-in-rtf/gists{/gist_id}","starred_url":"https://api.github.com/users/the-t-in-rtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-t-in-rtf/subscriptions","organizations_url":"https://api.github.com/users/the-t-in-rtf/orgs","repos_url":"https://api.github.com/users/the-t-in-rtf/repos","events_url":"https://api.github.com/users/the-t-in-rtf/events{/privacy}","received_events_url":"https://api.github.com/users/the-t-in-rtf/received_events","type":"User","site_admin":false},"repo":{"id":71824318,"name":"gpii-launcher","full_name":"the-t-in-rtf/gpii-launcher","owner":{"login":"the-t-in-rtf","id":5765222,"avatar_url":"https://avatars.githubusercontent.com/u/5765222?v=3","gravatar_id":"","url":"https://api.github.com/users/the-t-in-rtf","html_url":"https://github.com/the-t-in-rtf","followers_url":"https://api.github.com/users/the-t-in-rtf/followers","following_url":"https://api.github.com/users/the-t-in-rtf/following{/other_user}","gists_url":"https://api.github.com/users/the-t-in-rtf/gists{/gist_id}","starred_url":"https://api.github.com/users/the-t-in-rtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-t-in-rtf/subscriptions","organizations_url":"https://api.github.com/users/the-t-in-rtf/orgs","repos_url":"https://api.github.com/users/the-t-in-rtf/repos","events_url":"https://api.github.com/users/the-t-in-rtf/events{/privacy}","received_events_url":"https://api.github.com/users/the-t-in-rtf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/the-t-in-rtf/gpii-launcher","description":"This package provides a gpii.launcher Fluid component that standardizes the launching of fluid components with custom options. The component is based on yargs.","fork":true,"url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher","forks_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/forks","keys_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/teams","hooks_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/hooks","issue_events_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/issues/events{/number}","events_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/events","assignees_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/assignees{/user}","branches_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/branches{/branch}","tags_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/tags","blobs_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/languages","stargazers_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/stargazers","contributors_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/contributors","subscribers_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/subscribers","subscription_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/subscription","commits_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/contents/{+path}","compare_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/merges","archive_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/downloads","issues_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/issues{/number}","pulls_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/labels{/name}","releases_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/releases{/id}","deployments_url":"https://api.github.com/repos/the-t-in-rtf/gpii-launcher/deployments","created_at":"2016-10-24T19:26:08Z","updated_at":"2016-10-22T23:59:27Z","pushed_at":"2016-10-25T11:59:57Z","git_url":"git://github.com/the-t-in-rtf/gpii-launcher.git","ssh_url":"git@github.com:the-t-in-rtf/gpii-launcher.git","clone_url":"https://github.com/the-t-in-rtf/gpii-launcher.git","svn_url":"https://github.com/the-t-in-rtf/gpii-launcher","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"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":"GPII:master","ref":"master","sha":"1d8b4451bfb21cf18af721d8a93c269c2223f7b4","user":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"repo":{"id":71672332,"name":"gpii-launcher","full_name":"GPII/gpii-launcher","owner":{"login":"GPII","id":1343050,"avatar_url":"https://avatars.githubusercontent.com/u/1343050?v=3","gravatar_id":"","url":"https://api.github.com/users/GPII","html_url":"https://github.com/GPII","followers_url":"https://api.github.com/users/GPII/followers","following_url":"https://api.github.com/users/GPII/following{/other_user}","gists_url":"https://api.github.com/users/GPII/gists{/gist_id}","starred_url":"https://api.github.com/users/GPII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPII/subscriptions","organizations_url":"https://api.github.com/users/GPII/orgs","repos_url":"https://api.github.com/users/GPII/repos","events_url":"https://api.github.com/users/GPII/events{/privacy}","received_events_url":"https://api.github.com/users/GPII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPII/gpii-launcher","description":"This package provides a gpii.launcher Fluid component that standardizes the launching of fluid components with custom options. The component is based on yargs.","fork":false,"url":"https://api.github.com/repos/GPII/gpii-launcher","forks_url":"https://api.github.com/repos/GPII/gpii-launcher/forks","keys_url":"https://api.github.com/repos/GPII/gpii-launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPII/gpii-launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPII/gpii-launcher/teams","hooks_url":"https://api.github.com/repos/GPII/gpii-launcher/hooks","issue_events_url":"https://api.github.com/repos/GPII/gpii-launcher/issues/events{/number}","events_url":"https://api.github.com/repos/GPII/gpii-launcher/events","assignees_url":"https://api.github.com/repos/GPII/gpii-launcher/assignees{/user}","branches_url":"https://api.github.com/repos/GPII/gpii-launcher/branches{/branch}","tags_url":"https://api.github.com/repos/GPII/gpii-launcher/tags","blobs_url":"https://api.github.com/repos/GPII/gpii-launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPII/gpii-launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPII/gpii-launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPII/gpii-launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPII/gpii-launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/GPII/gpii-launcher/languages","stargazers_url":"https://api.github.com/repos/GPII/gpii-launcher/stargazers","contributors_url":"https://api.github.com/repos/GPII/gpii-launcher/contributors","subscribers_url":"https://api.github.com/repos/GPII/gpii-launcher/subscribers","subscription_url":"https://api.github.com/repos/GPII/gpii-launcher/subscription","commits_url":"https://api.github.com/repos/GPII/gpii-launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPII/gpii-launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPII/gpii-launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPII/gpii-launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/GPII/gpii-launcher/contents/{+path}","compare_url":"https://api.github.com/repos/GPII/gpii-launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPII/gpii-launcher/merges","archive_url":"https://api.github.com/repos/GPII/gpii-launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPII/gpii-launcher/downloads","issues_url":"https://api.github.com/repos/GPII/gpii-launcher/issues{/number}","pulls_url":"https://api.github.com/repos/GPII/gpii-launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/GPII/gpii-launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/GPII/gpii-launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPII/gpii-launcher/labels{/name}","releases_url":"https://api.github.com/repos/GPII/gpii-launcher/releases{/id}","deployments_url":"https://api.github.com/repos/GPII/gpii-launcher/deployments","created_at":"2016-10-22T23:59:27Z","updated_at":"2016-10-22T23:59:27Z","pushed_at":"2016-10-25T11:59:57Z","git_url":"git://github.com/GPII/gpii-launcher.git","ssh_url":"git@github.com:GPII/gpii-launcher.git","clone_url":"https://github.com/GPII/gpii-launcher.git","svn_url":"https://github.com/GPII/gpii-launcher","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1"},"html":{"href":"https://github.com/GPII/gpii-launcher/pull/1"},"issue":{"href":"https://api.github.com/repos/GPII/gpii-launcher/issues/1"},"comments":{"href":"https://api.github.com/repos/GPII/gpii-launcher/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GPII/gpii-launcher/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/GPII/gpii-launcher/statuses/de16e831469ed549504c15048b0e868fc4b3da49"}}}}
{"actor":{"display_login":"amb26"}}