{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/5605","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/5605/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/5605/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/5605/events","html_url":"https://github.com/facebook/jest/pull/5605","id":298097237,"number":5605,"title":"add support for expect(spy).nthCalledWith(int, args...)","user":{"login":"elad-yosifon","id":2989684,"avatar_url":"https://avatars0.githubusercontent.com/u/2989684?v=4","gravatar_id":"","url":"https://api.github.com/users/elad-yosifon","html_url":"https://github.com/elad-yosifon","followers_url":"https://api.github.com/users/elad-yosifon/followers","following_url":"https://api.github.com/users/elad-yosifon/following{/other_user}","gists_url":"https://api.github.com/users/elad-yosifon/gists{/gist_id}","starred_url":"https://api.github.com/users/elad-yosifon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad-yosifon/subscriptions","organizations_url":"https://api.github.com/users/elad-yosifon/orgs","repos_url":"https://api.github.com/users/elad-yosifon/repos","events_url":"https://api.github.com/users/elad-yosifon/events{/privacy}","received_events_url":"https://api.github.com/users/elad-yosifon/received_events","type":"User","site_admin":false},"labels":[{"id":196857093,"url":"https://api.github.com/repos/facebook/jest/labels/CLA%20Signed%20:heavy_check_mark:","name":"CLA Signed :heavy_check_mark:","color":"009900","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-02-18T16:24:04Z","updated_at":"2018-03-06T13:19:38Z","closed_at":"2018-02-26T09:21:43Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/5605","html_url":"https://github.com/facebook/jest/pull/5605","diff_url":"https://github.com/facebook/jest/pull/5605.diff","patch_url":"https://github.com/facebook/jest/pull/5605.patch"},"body":"## Summary\r\nenabling a 'cleaner' way to assert arguments on `spy.mock.calls[nth]` \r\n\r\n### Example:\r\n\r\n```javascript\r\nconst demo = {invoke: () => {} };\r\nconst spy = jest.spyOn(demo, 'invoke');\r\ndemo.invoke('arg0');\r\ndemo.invoke('arg1');\r\nexpect(spy).nthCalledWith(1, \"arg0\");\r\nexpect(spy).nthCalledWith(2, \"arg1\");\r\n// restoreMock...\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/370778546","html_url":"https://github.com/facebook/jest/pull/5605#issuecomment-370778546","issue_url":"https://api.github.com/repos/facebook/jest/issues/5605","id":370778546,"user":{"login":"Alaev","id":3925474,"avatar_url":"https://avatars1.githubusercontent.com/u/3925474?v=4","gravatar_id":"","url":"https://api.github.com/users/Alaev","html_url":"https://github.com/Alaev","followers_url":"https://api.github.com/users/Alaev/followers","following_url":"https://api.github.com/users/Alaev/following{/other_user}","gists_url":"https://api.github.com/users/Alaev/gists{/gist_id}","starred_url":"https://api.github.com/users/Alaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alaev/subscriptions","organizations_url":"https://api.github.com/users/Alaev/orgs","repos_url":"https://api.github.com/users/Alaev/repos","events_url":"https://api.github.com/users/Alaev/events{/privacy}","received_events_url":"https://api.github.com/users/Alaev/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T13:19:38Z","updated_at":"2018-03-06T13:19:38Z","author_association":"NONE","body":"@SimenB Hey, Please review #5734\r\nadded changelog and updated docs."}}
{"actor":{"display_login":"Alaev"}}