{"action":"closed","issue":{"url":"https://api.github.com/repos/mattphillips/jest-extended/issues/11","repository_url":"https://api.github.com/repos/mattphillips/jest-extended","labels_url":"https://api.github.com/repos/mattphillips/jest-extended/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mattphillips/jest-extended/issues/11/comments","events_url":"https://api.github.com/repos/mattphillips/jest-extended/issues/11/events","html_url":"https://github.com/mattphillips/jest-extended/issues/11","id":267725497,"number":11,"title":"New Matcher: .toContainKey(key)","user":{"login":"mattphillips","id":5610087,"avatar_url":"https://avatars0.githubusercontent.com/u/5610087?v=4","gravatar_id":"","url":"https://api.github.com/users/mattphillips","html_url":"https://github.com/mattphillips","followers_url":"https://api.github.com/users/mattphillips/followers","following_url":"https://api.github.com/users/mattphillips/following{/other_user}","gists_url":"https://api.github.com/users/mattphillips/gists{/gist_id}","starred_url":"https://api.github.com/users/mattphillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattphillips/subscriptions","organizations_url":"https://api.github.com/users/mattphillips/orgs","repos_url":"https://api.github.com/users/mattphillips/repos","events_url":"https://api.github.com/users/mattphillips/events{/privacy}","received_events_url":"https://api.github.com/users/mattphillips/received_events","type":"User","site_admin":false},"labels":[{"id":726001252,"url":"https://api.github.com/repos/mattphillips/jest-extended/labels/Beginner%20friendly","name":"Beginner friendly","color":"7fff3a","default":false},{"id":726000743,"url":"https://api.github.com/repos/mattphillips/jest-extended/labels/Hacktoberfest","name":"Hacktoberfest","color":"ffa42d","default":false},{"id":725999855,"url":"https://api.github.com/repos/mattphillips/jest-extended/labels/New%20Matcher","name":"New Matcher","color":"b082dd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-23T16:03:20Z","updated_at":"2017-10-24T12:38:44Z","closed_at":"2017-10-24T12:38:44Z","author_association":"OWNER","body":"**Feature Request**\r\n\r\n### .toContainKey(key)\r\n\r\nUse `.toContainKey` when checking if an object contains the provided key.\r\n\r\n```js\r\ntest('passes when object contains the given key', () => {\r\n  const o = { a: 'foo', b: 'bar', c: 'baz' };\r\n  expect(o).toContainKey('a');\r\n  expect(o).toContainKey('b');\r\n  expect(o).toContainKey('c');\r\n  expect(o).not.toContainKey('d');\r\n});\r\n```\r\n"}}
{"actor":{"display_login":"mattphillips"}}