{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/code-push/pulls/comments/65937860","id":65937860,"diff_hunk":"@@ -0,0 +1,210 @@\n+\"use strict\";\n+\n+// IMPORTS\n+\n+import platform = require(\"./platform\");\n+import { ProjectManager } from \"./projectManager\";\n+import ServerUtil = require(\"./serverUtil\");\n+import TestConfig = require(\"./testConfig\");\n+\n+//////////////////////////////////////////////////////////////////////////////////////////\n+// Use this class to create and structure the tests.\n+\n+// Usage is almost identical to Mocha, but with the addition of the optional \"scenarioPath\" in describe() and the required \"isCoreTest\" in it().\n+\n+export class TestBuilder {\n+    public static describe: ITestBuilderContextDefintion = getDescribe();\n+    public static it: ITestBuilderTestDefinition = getIt();\n+}\n+\n+//////////////////////////////////////////////////////////////////////////////////////////\n+// Base TestBuilder class\n+\n+export class TestBuilderBase {\n+    public only: boolean;\n+    public skip: boolean;\n+    \n+    constructor(options?: { only?: boolean, skip?: boolean }) {\n+        if (!options) return;\n+        \n+        if (!!options.only) this.only = options.only;\n+        if (!!options.skip) this.skip = options.skip;\n+    }\n+    \n+    /**\n+     * Called to create the test suite by the initializeTests function\n+     * \n+     * coreTestsOnly - Whether or not only core tests are to be run\n+     * projectManager - The projectManager instance that these tests are being run with\n+     * targetPlatform - The platform that these tests are going to be run on\n+     */\n+    public create(coreTestsOnly: boolean, projectManager: ProjectManager, targetPlatform: platform.IPlatform): void {};\n+}\n+\n+//////////////////////////////////////////////////////////////////////////////////////////\n+// TestBuilder subclasses\n+\n+/** Use this class to create a mocha.describe that contains additional tests */\n+export class TestBuilderDescribe extends TestBuilderBase {\n+    /** The name passed to the describe */\n+    private describeName: string;\n+    /** The path to the scenario that will be loaded by the test app for the nested TestBuilder objects */\n+    private scenarioPath: string;\n+    /** An array of nested TestBuilder objects that this describe contains */\n+    private testBuilders: TestBuilderBase[];\n+    /** Whether or not this.testBuilders directly contains any TestBuilderIt objects */\n+    private hasIts: boolean;\n+    /** Whether or not this.testBuilders directly contains any TestBuilder objects with an only flag */\n+    private hasOnly: boolean;\n+    \n+    /**\n+     * describeName - used as the description in the call to describe\n+     * scenarioPath - if specified, will be set up before the tests run\n+     * testBuilders - the testBuilders to create within this describe call\n+     * only - if true, use describe.only\n+     */\n+    constructor(describeName: string, testBuilders: TestBuilderBase[], scenarioPath?: string, options?: { only?: boolean, skip?: boolean }) {\n+        super(options);\n+        \n+        this.describeName = describeName;\n+        this.scenarioPath = scenarioPath;\n+        this.testBuilders = testBuilders;\n+        \n+        this.hasIts = false;\n+        for (var i = 0; i < this.testBuilders.length; i++) {\n+            if (this.testBuilders[i] instanceof TestBuilderIt) {\n+                this.hasIts = true;\n+                if (this.hasIts && this.hasOnly) break;\n+            }\n+            if (this.testBuilders[i].only) {\n+                this.only = true;\n+                this.hasOnly = true;\n+                if (this.hasIts && this.hasOnly) break;\n+            }\n+        }\n+    }\n+    \n+    /**\n+     * Called to create the test suite by the initializeTests function\n+     * \n+     * coreTestsOnly - Whether or not only core tests are to be run\n+     * projectManager - The projectManager instance that these tests are being run with\n+     * targetPlatform - The platform that these tests are going to be run on\n+     */\n+    public create(coreTestsOnly: boolean, projectManager: ProjectManager, targetPlatform: platform.IPlatform): void {\n+        if (this.skip) return;\n+        \n+        describe(this.describeName, () => {\n+            if (this.hasIts) {\n+                afterEach(() => {\n+                    console.log(\"Cleaning up!\");\n+                    ServerUtil.updateResponse = undefined;\n+                    ServerUtil.testMessageCallback = undefined;\n+                    ServerUtil.updateCheckCallback = undefined;\n+                    ServerUtil.testMessageResponse = undefined;\n+                });\n+            \n+                beforeEach(() => {\n+                    return targetPlatform.getEmulatorManager().prepareEmulatorForTest(TestConfig.TestNamespace);\n+                });\n+            }\n+\n+            if (this.scenarioPath) {\n+                before(() => {\n+                    return projectManager.setupScenario(TestConfig.testRunDirectory, TestConfig.TestNamespace, TestConfig.templatePath, this.scenarioPath, targetPlatform);\n+                });\n+            }\n+            \n+            this.testBuilders.forEach(testBuilder => {\n+                if (!(this.hasOnly && !testBuilder.only)) testBuilder.create(coreTestsOnly, projectManager, targetPlatform);\n+            });\n+        });\n+    }\n+}\n+\n+/** A test case to be run by the Plugin Testing Framework. */\n+export type TestCase = (projectManager: ProjectManager, targetPlatform: platform.IPlatform, done: MochaDone) => void;\n+\n+/** Use this class to create a test through mocha.it */\n+export class TestBuilderIt extends TestBuilderBase {\n+    /** The name of the test */\n+    private testName: string;\n+    /** The test to be run */\n+    private test: TestCase;\n+    /** Whether or not the test should be run when \"--core\" is supplied */\n+    private isCoreTest: boolean;\n+    \n+    /**\n+     * testName - used as the expectation in the call to it\n+     * test - the test to provide to it\n+     * isCoreTest - whether or not the test should run when \"--core\" is supplied\n+     * only - if true, use it.only\n+     */\n+    constructor(testName: string, test: TestCase, isCoreTest: boolean, options?: { only?: boolean, skip?: boolean }) {\n+        super(options);\n+        \n+        this.testName = testName;\n+        this.test = test;\n+        this.isCoreTest = isCoreTest;\n+    }\n+    \n+    /**\n+     * Called to create the test suite by the initializeTests function\n+     * \n+     * coreTestsOnly - Whether or not only core tests are to be run\n+     * projectManager - The projectManager instance that these tests are being run with\n+     * targetPlatform - The platform that these tests are going to be run on\n+     */\n+    public create(coreTestsOnly: boolean, projectManager: ProjectManager, targetPlatform: platform.IPlatform): void {\n+        if (!this.skip && (!coreTestsOnly || this.isCoreTest)) {\n+            it(this.testName, this.test.bind(this, projectManager, targetPlatform));\n+        }\n+    }\n+}\n+\n+//////////////////////////////////////////////////////////////////////////////////////////\n+// Mocha mimicry\n+\n+export interface ITestBuilderContextDefintion {\n+    (description: string, tests: TestBuilderBase[], scenarioPath?: string): TestBuilderBase;\n+    only(description: string, tests: TestBuilderBase[], scenarioPath?: string): TestBuilderBase;\n+    skip(description: string, tests: TestBuilderBase[], scenarioPath?: string): TestBuilderBase;\n+}\n+\n+/**\n+ * Returns a hybrid type that mimics mocha's describe object.\n+ */\n+function getDescribe(): ITestBuilderContextDefintion {\n+    var describer = <ITestBuilderContextDefintion>function(description: string, tests: TestBuilderBase[], scenarioPath?: string): TestBuilderBase {\n+        return new TestBuilderDescribe(description, tests, scenarioPath);","path":"plugin-testing-framework/script/testBuilder.ts","position":179,"original_position":179,"commit_id":"fc791f5221f79ea1102da9b292a266aa2f5db50e","original_commit_id":"fc791f5221f79ea1102da9b292a266aa2f5db50e","user":{"login":"geof90","id":8598682,"avatar_url":"https://avatars.githubusercontent.com/u/8598682?v=3","gravatar_id":"","url":"https://api.github.com/users/geof90","html_url":"https://github.com/geof90","followers_url":"https://api.github.com/users/geof90/followers","following_url":"https://api.github.com/users/geof90/following{/other_user}","gists_url":"https://api.github.com/users/geof90/gists{/gist_id}","starred_url":"https://api.github.com/users/geof90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geof90/subscriptions","organizations_url":"https://api.github.com/users/geof90/orgs","repos_url":"https://api.github.com/users/geof90/repos","events_url":"https://api.github.com/users/geof90/events{/privacy}","received_events_url":"https://api.github.com/users/geof90/received_events","type":"User","site_admin":false},"body":"Instead of returning a new instance of the \"TestBuilderDescribe\" or \"TestBuilderIt\" to the user, do you think you can push the new instance to a global array so that the user doesn't have to deal with keeping it in an array himself?","created_at":"2016-06-06T18:01:52Z","updated_at":"2016-06-06T18:01:52Z","html_url":"https://github.com/Microsoft/code-push/pull/239#discussion_r65937860","pull_request_url":"https://api.github.com/repos/Microsoft/code-push/pulls/239","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/comments/65937860"},"html":{"href":"https://github.com/Microsoft/code-push/pull/239#discussion_r65937860"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/239"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/code-push/pulls/239","id":71648223,"html_url":"https://github.com/Microsoft/code-push/pull/239","diff_url":"https://github.com/Microsoft/code-push/pull/239.diff","patch_url":"https://github.com/Microsoft/code-push/pull/239.patch","issue_url":"https://api.github.com/repos/Microsoft/code-push/issues/239","number":239,"state":"open","locked":false,"title":"PLUGIN TESTING FRAMEWORK","user":{"login":"scottbommarito","id":18014088,"avatar_url":"https://avatars.githubusercontent.com/u/18014088?v=3","gravatar_id":"","url":"https://api.github.com/users/scottbommarito","html_url":"https://github.com/scottbommarito","followers_url":"https://api.github.com/users/scottbommarito/followers","following_url":"https://api.github.com/users/scottbommarito/following{/other_user}","gists_url":"https://api.github.com/users/scottbommarito/gists{/gist_id}","starred_url":"https://api.github.com/users/scottbommarito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottbommarito/subscriptions","organizations_url":"https://api.github.com/users/scottbommarito/orgs","repos_url":"https://api.github.com/users/scottbommarito/repos","events_url":"https://api.github.com/users/scottbommarito/events{/privacy}","received_events_url":"https://api.github.com/users/scottbommarito/received_events","type":"User","site_admin":false},"body":"This adds an additional top level folder, \"plugin-testing-framework\", which is an npm package whose primary purpose is as a library for shared functionality between the Cordova and React-Native plugin tests. It's also easily extensible to any other plugins we may create.\r\n\r\nTo create a suite of tests, one must call `PluginTestingFramework.initializeTests` with a custom `ProjectManager` (which handles the setup behavior), a suite of tests (created with a `PluginTestingFramework.TestBuilder` object), and an array of custom `IPlatform` objects (which represent the platforms that are supported, for example Android or iOS).\r\n\r\nA lot of this code is similar to what's currently in [the Cordova plugin](https://github.com/Microsoft/cordova-plugin-code-push) but there are a lot of changes to the structure overall. If you're confused, it may help to check out [how the Cordova plugin uses this framework](https://github.com/Microsoft/cordova-plugin-code-push/blob/1c2152048d2a09de96b11c3d281a941102efc725/test/test.ts).\r\n\r\nTO DO: publish to npm\r\n\r\nnote: if i recall correctly, i had to make some random changes to the code to get it to compile correctly. if you're curious what a change for for, it's probably that.","created_at":"2016-05-27T01:23:15Z","updated_at":"2016-06-06T18:01:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2eff2b6a89e8b3019148980cee9a171c37b65236","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/code-push/pulls/239/commits","review_comments_url":"https://api.github.com/repos/Microsoft/code-push/pulls/239/comments","review_comment_url":"https://api.github.com/repos/Microsoft/code-push/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/code-push/issues/239/comments","statuses_url":"https://api.github.com/repos/Microsoft/code-push/statuses/fc791f5221f79ea1102da9b292a266aa2f5db50e","head":{"label":"Microsoft:plugin-testing-framework","ref":"plugin-testing-framework","sha":"fc791f5221f79ea1102da9b292a266aa2f5db50e","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43459513,"name":"code-push","full_name":"Microsoft/code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/code-push","description":"A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.","fork":false,"url":"https://api.github.com/repos/Microsoft/code-push","forks_url":"https://api.github.com/repos/Microsoft/code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/code-push/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/code-push/deployments","created_at":"2015-09-30T21:12:55Z","updated_at":"2016-06-06T09:34:09Z","pushed_at":"2016-06-04T01:11:24Z","git_url":"git://github.com/Microsoft/code-push.git","ssh_url":"git@github.com:Microsoft/code-push.git","clone_url":"https://github.com/Microsoft/code-push.git","svn_url":"https://github.com/Microsoft/code-push","homepage":"http://codepush.tools","size":7941,"stargazers_count":1430,"watchers_count":1430,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":104,"mirror_url":null,"open_issues_count":7,"forks":104,"open_issues":7,"watchers":1430,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"ed48fb8c2faf277e76ed7d65eedd430fd907067a","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43459513,"name":"code-push","full_name":"Microsoft/code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/code-push","description":"A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.","fork":false,"url":"https://api.github.com/repos/Microsoft/code-push","forks_url":"https://api.github.com/repos/Microsoft/code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/code-push/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/code-push/deployments","created_at":"2015-09-30T21:12:55Z","updated_at":"2016-06-06T09:34:09Z","pushed_at":"2016-06-04T01:11:24Z","git_url":"git://github.com/Microsoft/code-push.git","ssh_url":"git@github.com:Microsoft/code-push.git","clone_url":"https://github.com/Microsoft/code-push.git","svn_url":"https://github.com/Microsoft/code-push","homepage":"http://codepush.tools","size":7941,"stargazers_count":1430,"watchers_count":1430,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":104,"mirror_url":null,"open_issues_count":7,"forks":104,"open_issues":7,"watchers":1430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/239"},"html":{"href":"https://github.com/Microsoft/code-push/pull/239"},"issue":{"href":"https://api.github.com/repos/Microsoft/code-push/issues/239"},"comments":{"href":"https://api.github.com/repos/Microsoft/code-push/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/code-push/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/code-push/statuses/fc791f5221f79ea1102da9b292a266aa2f5db50e"}}}}
{"actor":{"display_login":"geof90"}}