{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/autorest/pulls/comments/43468243","id":43468243,"diff_hunk":"@@ -0,0 +1,214 @@\n+// Type definitions for mocha 2.2.5\n+// Project: http://mochajs.org/","path":"AutoRest/Generators/NodeJS/NodeJS.Tests/typings/mocha/mocha.d.ts","position":2,"original_position":2,"commit_id":"eece5c468185dd3e3f1ac2d69d72332645b0128a","original_commit_id":"eece5c468185dd3e3f1ac2d69d72332645b0128a","user":{"login":"BretJohnson","id":245892,"avatar_url":"https://avatars.githubusercontent.com/u/245892?v=3","gravatar_id":"","url":"https://api.github.com/users/BretJohnson","html_url":"https://github.com/BretJohnson","followers_url":"https://api.github.com/users/BretJohnson/followers","following_url":"https://api.github.com/users/BretJohnson/following{/other_user}","gists_url":"https://api.github.com/users/BretJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/BretJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BretJohnson/subscriptions","organizations_url":"https://api.github.com/users/BretJohnson/orgs","repos_url":"https://api.github.com/users/BretJohnson/repos","events_url":"https://api.github.com/users/BretJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/BretJohnson/received_events","type":"User","site_admin":false},"body":"Yes, typings should be updated if changing the mocha version.   This should work to do that:\r\n`tsd install mocha --save --overwrite`\r\nFor taking dependencies on a new package where want type checking this should do it:\r\n`tsd install <package> --save`\r\nSee https://github.com/DefinitelyTyped/tsd for full doc.\r\nBasically `tsd.json` stores the type dependencies (much like `package.json` for node dependencies) and `typings` is generated from that containing all the type files (like `node_modules`).\r\n\r\n\r\n","created_at":"2015-10-30T03:09:21Z","updated_at":"2015-10-30T03:09:21Z","html_url":"https://github.com/Azure/autorest/pull/428#discussion_r43468243","pull_request_url":"https://api.github.com/repos/Azure/autorest/pulls/428","_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments/43468243"},"html":{"href":"https://github.com/Azure/autorest/pull/428#discussion_r43468243"},"pull_request":{"href":"https://api.github.com/repos/Azure/autorest/pulls/428"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/autorest/pulls/428","id":48936819,"html_url":"https://github.com/Azure/autorest/pull/428","diff_url":"https://github.com/Azure/autorest/pull/428.diff","patch_url":"https://github.com/Azure/autorest/pull/428.patch","issue_url":"https://api.github.com/repos/Azure/autorest/issues/428","number":428,"state":"open","locked":false,"title":"Switched Node.JS tests over to TypeScript.   Essentially, they are th…","user":{"login":"BretJohnson","id":245892,"avatar_url":"https://avatars.githubusercontent.com/u/245892?v=3","gravatar_id":"","url":"https://api.github.com/users/BretJohnson","html_url":"https://github.com/BretJohnson","followers_url":"https://api.github.com/users/BretJohnson/followers","following_url":"https://api.github.com/users/BretJohnson/following{/other_user}","gists_url":"https://api.github.com/users/BretJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/BretJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BretJohnson/subscriptions","organizations_url":"https://api.github.com/users/BretJohnson/orgs","repos_url":"https://api.github.com/users/BretJohnson/repos","events_url":"https://api.github.com/users/BretJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/BretJohnson/received_events","type":"User","site_admin":false},"body":"…e same tests as before except now strongly typed.","created_at":"2015-10-27T21:42:32Z","updated_at":"2015-10-30T03:09:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4d3618029efad612e29de190c123ab9996a2de0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/autorest/pulls/428/commits","review_comments_url":"https://api.github.com/repos/Azure/autorest/pulls/428/comments","review_comment_url":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/428/comments","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/eece5c468185dd3e3f1ac2d69d72332645b0128a","head":{"label":"BretJohnson:typescript-tests","ref":"typescript-tests","sha":"eece5c468185dd3e3f1ac2d69d72332645b0128a","user":{"login":"BretJohnson","id":245892,"avatar_url":"https://avatars.githubusercontent.com/u/245892?v=3","gravatar_id":"","url":"https://api.github.com/users/BretJohnson","html_url":"https://github.com/BretJohnson","followers_url":"https://api.github.com/users/BretJohnson/followers","following_url":"https://api.github.com/users/BretJohnson/following{/other_user}","gists_url":"https://api.github.com/users/BretJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/BretJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BretJohnson/subscriptions","organizations_url":"https://api.github.com/users/BretJohnson/orgs","repos_url":"https://api.github.com/users/BretJohnson/repos","events_url":"https://api.github.com/users/BretJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/BretJohnson/received_events","type":"User","site_admin":false},"repo":{"id":45059307,"name":"autorest","full_name":"BretJohnson/autorest","owner":{"login":"BretJohnson","id":245892,"avatar_url":"https://avatars.githubusercontent.com/u/245892?v=3","gravatar_id":"","url":"https://api.github.com/users/BretJohnson","html_url":"https://github.com/BretJohnson","followers_url":"https://api.github.com/users/BretJohnson/followers","following_url":"https://api.github.com/users/BretJohnson/following{/other_user}","gists_url":"https://api.github.com/users/BretJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/BretJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BretJohnson/subscriptions","organizations_url":"https://api.github.com/users/BretJohnson/orgs","repos_url":"https://api.github.com/users/BretJohnson/repos","events_url":"https://api.github.com/users/BretJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/BretJohnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BretJohnson/autorest","description":"","fork":true,"url":"https://api.github.com/repos/BretJohnson/autorest","forks_url":"https://api.github.com/repos/BretJohnson/autorest/forks","keys_url":"https://api.github.com/repos/BretJohnson/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BretJohnson/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BretJohnson/autorest/teams","hooks_url":"https://api.github.com/repos/BretJohnson/autorest/hooks","issue_events_url":"https://api.github.com/repos/BretJohnson/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/BretJohnson/autorest/events","assignees_url":"https://api.github.com/repos/BretJohnson/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/BretJohnson/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/BretJohnson/autorest/tags","blobs_url":"https://api.github.com/repos/BretJohnson/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BretJohnson/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BretJohnson/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/BretJohnson/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BretJohnson/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/BretJohnson/autorest/languages","stargazers_url":"https://api.github.com/repos/BretJohnson/autorest/stargazers","contributors_url":"https://api.github.com/repos/BretJohnson/autorest/contributors","subscribers_url":"https://api.github.com/repos/BretJohnson/autorest/subscribers","subscription_url":"https://api.github.com/repos/BretJohnson/autorest/subscription","commits_url":"https://api.github.com/repos/BretJohnson/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/BretJohnson/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/BretJohnson/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/BretJohnson/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/BretJohnson/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/BretJohnson/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BretJohnson/autorest/merges","archive_url":"https://api.github.com/repos/BretJohnson/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BretJohnson/autorest/downloads","issues_url":"https://api.github.com/repos/BretJohnson/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/BretJohnson/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/BretJohnson/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/BretJohnson/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BretJohnson/autorest/labels{/name}","releases_url":"https://api.github.com/repos/BretJohnson/autorest/releases{/id}","created_at":"2015-10-27T17:50:21Z","updated_at":"2015-10-27T17:50:28Z","pushed_at":"2015-10-27T22:08:15Z","git_url":"git://github.com/BretJohnson/autorest.git","ssh_url":"git@github.com:BretJohnson/autorest.git","clone_url":"https://github.com/BretJohnson/autorest.git","svn_url":"https://github.com/BretJohnson/autorest","homepage":null,"size":26207,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Azure:dev","ref":"dev","sha":"bbb6cf91010fc90db454ac4c64648204fe77dfab","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":31089461,"name":"autorest","full_name":"Azure/autorest","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/autorest","description":"","fork":false,"url":"https://api.github.com/repos/Azure/autorest","forks_url":"https://api.github.com/repos/Azure/autorest/forks","keys_url":"https://api.github.com/repos/Azure/autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/autorest/teams","hooks_url":"https://api.github.com/repos/Azure/autorest/hooks","issue_events_url":"https://api.github.com/repos/Azure/autorest/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/autorest/events","assignees_url":"https://api.github.com/repos/Azure/autorest/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/autorest/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/autorest/tags","blobs_url":"https://api.github.com/repos/Azure/autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/autorest/languages","stargazers_url":"https://api.github.com/repos/Azure/autorest/stargazers","contributors_url":"https://api.github.com/repos/Azure/autorest/contributors","subscribers_url":"https://api.github.com/repos/Azure/autorest/subscribers","subscription_url":"https://api.github.com/repos/Azure/autorest/subscription","commits_url":"https://api.github.com/repos/Azure/autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/autorest/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/autorest/merges","archive_url":"https://api.github.com/repos/Azure/autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/autorest/downloads","issues_url":"https://api.github.com/repos/Azure/autorest/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/autorest/labels{/name}","releases_url":"https://api.github.com/repos/Azure/autorest/releases{/id}","created_at":"2015-02-20T23:02:54Z","updated_at":"2015-10-28T03:57:56Z","pushed_at":"2015-10-30T02:16:00Z","git_url":"git://github.com/Azure/autorest.git","ssh_url":"git@github.com:Azure/autorest.git","clone_url":"https://github.com/Azure/autorest.git","svn_url":"https://github.com/Azure/autorest","homepage":null,"size":29363,"stargazers_count":203,"watchers_count":203,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":28,"forks":56,"open_issues":28,"watchers":203,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/autorest/pulls/428"},"html":{"href":"https://github.com/Azure/autorest/pull/428"},"issue":{"href":"https://api.github.com/repos/Azure/autorest/issues/428"},"comments":{"href":"https://api.github.com/repos/Azure/autorest/issues/428/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/autorest/pulls/428/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/autorest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/autorest/pulls/428/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/autorest/statuses/eece5c468185dd3e3f1ac2d69d72332645b0128a"}}}}