{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/comments/34693120","id":34693120,"diff_hunk":"@@ -513,6 +513,142 @@ class AppInsightsTests extends TestClass {\n         });\n \n         this.testCase({\n+            name: \"AppInsightsTests: set authID context is applied\",","path":"JavaScript/JavaScriptSDK.Tests/CheckinTests/appInsights.tests.ts","position":4,"original_position":4,"commit_id":"4c611c1266a9cbf7fc7e8da00d4bc3bf4f8a81ca","original_commit_id":"4c611c1266a9cbf7fc7e8da00d4bc3bf4f8a81ca","user":{"login":"olegsych","id":8355091,"avatar_url":"https://avatars.githubusercontent.com/u/8355091?v=3","gravatar_id":"","url":"https://api.github.com/users/olegsych","html_url":"https://github.com/olegsych","followers_url":"https://api.github.com/users/olegsych/followers","following_url":"https://api.github.com/users/olegsych/following{/other_user}","gists_url":"https://api.github.com/users/olegsych/gists{/gist_id}","starred_url":"https://api.github.com/users/olegsych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegsych/subscriptions","organizations_url":"https://api.github.com/users/olegsych/orgs","repos_url":"https://api.github.com/users/olegsych/repos","events_url":"https://api.github.com/users/olegsych/events{/privacy}","received_events_url":"https://api.github.com/users/olegsych/received_events","type":"User","site_admin":false},"body":"Can we take advantage of sinon and only verify that `AppInsights` methods call the respective `UserContext` methods, which are tested separately?","created_at":"2015-07-15T15:46:55Z","updated_at":"2015-07-15T15:46:55Z","html_url":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27#discussion_r34693120","pull_request_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/comments/34693120"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27#discussion_r34693120"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27","id":39619258,"html_url":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27","diff_url":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27.diff","patch_url":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27.patch","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/27","number":27,"state":"open","locked":false,"title":"Add authId API + persist to cookie and server-side","user":{"login":"Assaf-Neufeld","id":13253831,"avatar_url":"https://avatars.githubusercontent.com/u/13253831?v=3","gravatar_id":"","url":"https://api.github.com/users/Assaf-Neufeld","html_url":"https://github.com/Assaf-Neufeld","followers_url":"https://api.github.com/users/Assaf-Neufeld/followers","following_url":"https://api.github.com/users/Assaf-Neufeld/following{/other_user}","gists_url":"https://api.github.com/users/Assaf-Neufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/Assaf-Neufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Assaf-Neufeld/subscriptions","organizations_url":"https://api.github.com/users/Assaf-Neufeld/orgs","repos_url":"https://api.github.com/users/Assaf-Neufeld/repos","events_url":"https://api.github.com/users/Assaf-Neufeld/events{/privacy}","received_events_url":"https://api.github.com/users/Assaf-Neufeld/received_events","type":"User","site_admin":false},"body":"Note: I left as is all fields generated by the BOND.","created_at":"2015-07-09T19:29:11Z","updated_at":"2015-07-15T15:46:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6c67eb0e2e7ec1dc005e56a651fa8c354d1da6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/27/comments","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/statuses/4c611c1266a9cbf7fc7e8da00d4bc3bf4f8a81ca","head":{"label":"Assaf-Neufeld:master","ref":"master","sha":"4c611c1266a9cbf7fc7e8da00d4bc3bf4f8a81ca","user":{"login":"Assaf-Neufeld","id":13253831,"avatar_url":"https://avatars.githubusercontent.com/u/13253831?v=3","gravatar_id":"","url":"https://api.github.com/users/Assaf-Neufeld","html_url":"https://github.com/Assaf-Neufeld","followers_url":"https://api.github.com/users/Assaf-Neufeld/followers","following_url":"https://api.github.com/users/Assaf-Neufeld/following{/other_user}","gists_url":"https://api.github.com/users/Assaf-Neufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/Assaf-Neufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Assaf-Neufeld/subscriptions","organizations_url":"https://api.github.com/users/Assaf-Neufeld/orgs","repos_url":"https://api.github.com/users/Assaf-Neufeld/repos","events_url":"https://api.github.com/users/Assaf-Neufeld/events{/privacy}","received_events_url":"https://api.github.com/users/Assaf-Neufeld/received_events","type":"User","site_admin":false},"repo":{"id":38840133,"name":"ApplicationInsights-JS","full_name":"Assaf-Neufeld/ApplicationInsights-JS","owner":{"login":"Assaf-Neufeld","id":13253831,"avatar_url":"https://avatars.githubusercontent.com/u/13253831?v=3","gravatar_id":"","url":"https://api.github.com/users/Assaf-Neufeld","html_url":"https://github.com/Assaf-Neufeld","followers_url":"https://api.github.com/users/Assaf-Neufeld/followers","following_url":"https://api.github.com/users/Assaf-Neufeld/following{/other_user}","gists_url":"https://api.github.com/users/Assaf-Neufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/Assaf-Neufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Assaf-Neufeld/subscriptions","organizations_url":"https://api.github.com/users/Assaf-Neufeld/orgs","repos_url":"https://api.github.com/users/Assaf-Neufeld/repos","events_url":"https://api.github.com/users/Assaf-Neufeld/events{/privacy}","received_events_url":"https://api.github.com/users/Assaf-Neufeld/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Assaf-Neufeld/ApplicationInsights-JS","description":"Microsoft Application Insights SDK for JavaScript","fork":true,"url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS","forks_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/forks","keys_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/teams","hooks_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/hooks","issue_events_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/issues/events{/number}","events_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/events","assignees_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/assignees{/user}","branches_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/branches{/branch}","tags_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/tags","blobs_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/statuses/{sha}","languages_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/languages","stargazers_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/stargazers","contributors_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/contributors","subscribers_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/subscribers","subscription_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/subscription","commits_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/contents/{+path}","compare_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/merges","archive_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/downloads","issues_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/issues{/number}","pulls_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/pulls{/number}","milestones_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/milestones{/number}","notifications_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/labels{/name}","releases_url":"https://api.github.com/repos/Assaf-Neufeld/ApplicationInsights-JS/releases{/id}","created_at":"2015-07-09T19:12:47Z","updated_at":"2015-07-09T19:12:47Z","pushed_at":"2015-07-15T12:16:46Z","git_url":"git://github.com/Assaf-Neufeld/ApplicationInsights-JS.git","ssh_url":"git@github.com:Assaf-Neufeld/ApplicationInsights-JS.git","clone_url":"https://github.com/Assaf-Neufeld/ApplicationInsights-JS.git","svn_url":"https://github.com/Assaf-Neufeld/ApplicationInsights-JS","homepage":null,"size":4713,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"Microsoft:master","ref":"master","sha":"8d329324c9e9beb8ebe3d2f5c927b2b0143a0e2e","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":33373292,"name":"ApplicationInsights-JS","full_name":"Microsoft/ApplicationInsights-JS","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/ApplicationInsights-JS","description":"Microsoft Application Insights SDK for JavaScript","fork":false,"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS","forks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/forks","keys_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/teams","hooks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/events","assignees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/tags","blobs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/subscription","commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/merges","archive_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/downloads","issues_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/releases{/id}","created_at":"2015-04-03T17:01:17Z","updated_at":"2015-06-18T22:17:09Z","pushed_at":"2015-07-15T15:35:52Z","git_url":"git://github.com/Microsoft/ApplicationInsights-JS.git","ssh_url":"git@github.com:Microsoft/ApplicationInsights-JS.git","clone_url":"https://github.com/Microsoft/ApplicationInsights-JS.git","svn_url":"https://github.com/Microsoft/ApplicationInsights-JS","homepage":null,"size":5196,"stargazers_count":13,"watchers_count":13,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-JS/pull/27"},"issue":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/27"},"comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-JS/statuses/4c611c1266a9cbf7fc7e8da00d4bc3bf4f8a81ca"}}}}