{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/60335813","id":60335813,"diff_hunk":"@@ -1,279 +1,258 @@\n /**\n  * External dependencies\n  */\n-var assert = require( 'chai' ).assert,\n-\tmockery = require( 'mockery' ),\n-\tsinon = require( 'sinon' );\n+import { assert } from 'chai';\n+import sinon from 'sinon';\n \n /**\n  * Internal dependencies\n  */\n-var actionsData = require( 'lib/data-actions' ),\n-\tactions = require( 'lib/mock-actions' ),\n-\tlocalStorageMock = require( 'lib/mock-local-store' );\n-\n-describe( 'WPORG Plugins Lists Store', function() {\n-\tvar Dispatcher, PluginsListsStore, pluginsList;\n+import useMockery from 'test/helpers/use-mockery';\n+import actionsData from './fixtures/actions';\n+import actionsSpies from './mocks/actions';\n+import localStorageSpies from './mocks/local-store';\n+\n+describe( 'WPORG Plugins Lists Store', () => {\n+\tlet Dispatcher, PluginsListsStore, pluginsList;\n+\tuseMockery( mockery => {\n+\t\tmockery.registerMock( 'config', { isEnabled: () => true } );\n+\t\tmockery.registerMock( 'store', localStorageSpies );\n+\t\tmockery.registerMock( './actions', actionsSpies );\n+\t} );\n \n \tfunction resetListsStore() {\n \t\tDispatcher.handleServerAction( { type: 'RESET_WPORG_PLUGINS_LIST' } );\n \t}\n \n-\tbefore( function() {\n-\t\tmockery.enable( {\n-\t\t\twarnOnReplace: false,\n-\t\t\twarnOnUnregistered: false\n-\t\t} );\n-\t\tmockery.registerMock( 'lodash/debounce', function( cb ) {\n-\t\t\treturn cb;\n-\t\t} );\n-\t\tmockery.registerMock( 'store', localStorageMock );\n-\t\tmockery.registerMock( 'config', {\n-\t\t\tisEnabled: function() {\n-\t\t\t\treturn true;\n-\t\t\t}\n-\t\t} );\n-\t\tmockery.registerMock( './actions', actions );\n-\t\tmockery.registerMock( 'config', {\n-\t\t\tisEnabled: function() {\n-\t\t\t\treturn true;\n-\t\t\t}\n-\t\t} );\n-\t} );\n-\n-\tafter( function() {\n-\t\tmockery.disable();\n-\t} );\n-\n-\tbeforeEach( function() {\n-\t\tlocalStorageMock.reset();\n-\t\tactions.reset();\n+\tbeforeEach( () => {\n+\t\tlocalStorageSpies.reset();\n+\t\tactionsSpies.fetchPluginsList.reset();\n \t\tDispatcher = require( 'dispatcher' );\n \t\tPluginsListsStore = require( 'lib/plugins/wporg-data/list-store' );\n \t\tresetListsStore();\n \t} );\n \n-\tit( 'Store should be an object', function() {\n+\tit( 'Store should be an object', () => {\n \t\tassert.isObject( PluginsListsStore );\n \t} );\n \n-\tit( 'Store should have method emitChange', function() {\n+\tit( 'Store should have method emitChange', () => {\n \t\tassert.isFunction( PluginsListsStore.emitChange );\n \t} );\n \n-\tit( 'Store should have method getShortList', function() {\n+\tit( 'Store should have method getShortList', () => {\n \t\tassert.isFunction( PluginsListsStore.getShortList );\n \t} );\n \n-\tit( 'Store should have method getFullList', function() {\n+\tit( 'Store should have method getFullList', () => {\n \t\tassert.isFunction( PluginsListsStore.getFullList );\n \t} );\n \n-\tit( 'should return if a list is fetching or not when requested', function() {\n+\tit( 'should return if a list is fetching or not when requested', () => {\n \t\tpluginsList = PluginsListsStore.getFullList( 'popular' );\n \t\tassert.isDefined( pluginsList.fetching );\n \t} );\n \n-\tit( 'Store should have method getSearchList', function() {\n+\tit( 'Store should have method getSearchList', () => {\n \t\tassert.isFunction( PluginsListsStore.getSearchList );\n \t} );\n \n-\tit( 'should return the content of a list when requested', function() {\n+\tit( 'should return the content of a list when requested', () => {\n \t\tpluginsList = PluginsListsStore.getFullList( 'popular' );\n \t\tassert.isDefined( pluginsList.list );\n \t} );\n \n-\tdescribe( 'short lists', function() {\n-\t\tit( 'should be empty if the list has not been fetched yet', function() {\n-\t\t\tvar newPlugins = PluginsListsStore.getShortList( 'new' );\n-\t\t\tassert.equal( newPlugins.list.length, 0 );\n+\tdescribe( 'short lists', () => {\n+\t\tit( 'should be empty if the list has not been fetched yet', () => {\n+\t\t\tconst newPlugins = PluginsListsStore.getShortList( 'new' );\n+\t\t\tassert.lengthOf( newPlugins.list, 0 );\n \t\t} );\n \n-\t\tit( 'should return a list of plugins if the list has been fetched already', function() {\n-\t\t\tvar newPlugins;\n+\t\tit( 'should return a list of plugins if the list has been fetched already', () => {\n+\t\t\tlet newPlugins;\n \t\t\tDispatcher.handleServerAction( actionsData.fetchedNewPluginsList );\n \t\t\tnewPlugins = PluginsListsStore.getShortList( 'new' );\n \t\t\tassert.isArray( newPlugins.list );\n-\t\t\tassert.equal( newPlugins.list.length, 1 );\n+\t\t\tassert.lengthOf( newPlugins.list, 1 );\n \t\t} );\n \n-\t\tit( 'should not read from localStorage if the category isn\\'t in the to-be-cached list', function() {\n+\t\tit( 'should not read from localStorage if the category isn\\'t in the to-be-cached list', () => {\n \t\t\tDispatcher.handleServerAction( actionsData.fetchedNewPluginsList );\n \t\t\tresetListsStore();\n \t\t\tPluginsListsStore.getShortList( 'new' );\n-\t\t\tassert.equal( localStorageMock.getActivity().get, 0 );\n+\t\t\tassert.isFalse( localStorageSpies.get.called );\n \t\t} );\n \n-\t\tit( 'should not store on localStorage if the category isn\\'t in the to-be-cached list', function() {\n+\t\tit( 'should not store on localStorage if the category isn\\'t in the to-be-cached list', () => {\n \t\t\tDispatcher.handleServerAction( actionsData.fetchedNewPluginsList );\n-\t\t\tassert.equal( localStorageMock.getActivity().set, 0 );\n+\t\t\tassert.isFalse( localStorageSpies.set.called );\n \t\t} );\n \n-\t\tit( 'should try to read from localStorage if the category is in the to-be-cached list', function() {\n+\t\tit( 'should try to read from localStorage if the category is in the to-be-cached list', () => {\n \t\t\tDispatcher.handleServerAction( actionsData.fetchedPopularPluginsList );\n \t\t\tresetListsStore();\n \t\t\tPluginsListsStore.getShortList( 'popular' );\n-\t\t\tassert.notEqual( localStorageMock.getActivity().get, 0 );\n+\t\t\tassert.isTrue( localStorageSpies.get.called );\n \t\t} );\n \n-\t\tit( 'should not be stored on localStorage if the category isn\\'t in the to-be-cached list', function() {\n+\t\tit( 'should not be stored on localStorage if the category isn\\'t in the to-be-cached list', () => {\n \t\t\tDispatcher.handleServerAction( actionsData.fetchedPopularPluginsList );\n \t\t\tresetListsStore();\n \t\t\tPluginsListsStore.getShortList( 'popular' );\n-\t\t\tassert.equal( localStorageMock.getActivity().set, 1 );\n+\t\t\tassert.isTrue( localStorageSpies.set.called );\n \t\t} );\n \n-\t\tit( 'should not fetch from wporg if the category list is already in storage and is not yet after its TTL', function() {\n-\t\t\tDispatcher.handleServerAction( actionsData.fetchedPopularPluginsList );\n+\t\tit( 'should not fetch from wporg if the category list is already in storage and is not yet after its TTL', () => {\n \t\t\tresetListsStore();","path":"client/lib/plugins/wporg-data/test/list-store.js","position":168,"original_position":168,"commit_id":"95d3c2f08c9264eedcf0c1930bc9dc0c1f53a160","original_commit_id":"95d3c2f08c9264eedcf0c1930bc9dc0c1f53a160","user":{"login":"jhnstn","id":744755,"avatar_url":"https://avatars.githubusercontent.com/u/744755?v=3","gravatar_id":"","url":"https://api.github.com/users/jhnstn","html_url":"https://github.com/jhnstn","followers_url":"https://api.github.com/users/jhnstn/followers","following_url":"https://api.github.com/users/jhnstn/following{/other_user}","gists_url":"https://api.github.com/users/jhnstn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhnstn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhnstn/subscriptions","organizations_url":"https://api.github.com/users/jhnstn/orgs","repos_url":"https://api.github.com/users/jhnstn/repos","events_url":"https://api.github.com/users/jhnstn/events{/privacy}","received_events_url":"https://api.github.com/users/jhnstn/received_events","type":"User","site_admin":false},"body":"I'm not sure if the previous mock setup was incorrect but after converting to spies `fetchPluginsList` was being called if `resetListsStore` was called after the dispatch server action. That does seem to be the correct behavior where the `RESET_WPORG_PLUGINS_LIST` event clears out the storage.","created_at":"2016-04-20T00:39:10Z","updated_at":"2016-04-20T00:39:10Z","html_url":"https://github.com/Automattic/wp-calypso/pull/4877#discussion_r60335813","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/60335813"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/4877#discussion_r60335813"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877","id":67096074,"html_url":"https://github.com/Automattic/wp-calypso/pull/4877","diff_url":"https://github.com/Automattic/wp-calypso/pull/4877.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/4877.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4877","number":4877,"state":"open","locked":false,"title":"Tests: port lib/plugins to single test runner","user":{"login":"jhnstn","id":744755,"avatar_url":"https://avatars.githubusercontent.com/u/744755?v=3","gravatar_id":"","url":"https://api.github.com/users/jhnstn","html_url":"https://github.com/jhnstn","followers_url":"https://api.github.com/users/jhnstn/followers","following_url":"https://api.github.com/users/jhnstn/following{/other_user}","gists_url":"https://api.github.com/users/jhnstn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhnstn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhnstn/subscriptions","organizations_url":"https://api.github.com/users/jhnstn/orgs","repos_url":"https://api.github.com/users/jhnstn/repos","events_url":"https://api.github.com/users/jhnstn/events{/privacy}","received_events_url":"https://api.github.com/users/jhnstn/received_events","type":"User","site_admin":false},"body":"part of #3942 \r\n\r\nEach test works in isolation\r\n\r\n**Testing**\r\n\r\n    npm run test-client\r\n    npm run test-client client/lib/plugins/test/actions -- -w\r\n    npm run test-client client/lib/plugins/test/log-store -- -w\r\n    npm run test-client client/lib/plugins/test/store -- -w\r\n    npm run test-client client/lib/plugins/test/utils -- -w\r\n\r\ncc @gziolo , @blowery","created_at":"2016-04-19T21:50:55Z","updated_at":"2016-04-20T00:39:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4877/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/95d3c2f08c9264eedcf0c1930bc9dc0c1f53a160","head":{"label":"Automattic:update/lib-plugins-test","ref":"update/lib-plugins-test","sha":"95d3c2f08c9264eedcf0c1930bc9dc0c1f53a160","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-04-19T23:22:05Z","pushed_at":"2016-04-20T00:32:10Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":74398,"stargazers_count":7174,"watchers_count":7174,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":862,"mirror_url":null,"open_issues_count":1299,"forks":862,"open_issues":1299,"watchers":7174,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"a1581ebea435021b1df25781de2fb60c1863b697","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2016-04-19T23:22:05Z","pushed_at":"2016-04-20T00:32:10Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":74398,"stargazers_count":7174,"watchers_count":7174,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":862,"mirror_url":null,"open_issues_count":1299,"forks":862,"open_issues":1299,"watchers":7174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/4877"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/4877"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/4877/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4877/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/95d3c2f08c9264eedcf0c1930bc9dc0c1f53a160"}}}}