{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/2213","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/2213/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/2213/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/2213/events","html_url":"https://github.com/facebook/jest/pull/2213","id":193322098,"number":2213,"title":"Expose jasmine asymmetric matches as part of Jest public API","user":{"login":"just-boris","id":812240,"avatar_url":"https://avatars.githubusercontent.com/u/812240?v=3","gravatar_id":"","url":"https://api.github.com/users/just-boris","html_url":"https://github.com/just-boris","followers_url":"https://api.github.com/users/just-boris/followers","following_url":"https://api.github.com/users/just-boris/following{/other_user}","gists_url":"https://api.github.com/users/just-boris/gists{/gist_id}","starred_url":"https://api.github.com/users/just-boris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/just-boris/subscriptions","organizations_url":"https://api.github.com/users/just-boris/orgs","repos_url":"https://api.github.com/users/just-boris/repos","events_url":"https://api.github.com/users/just-boris/events{/privacy}","received_events_url":"https://api.github.com/users/just-boris/received_events","type":"User","site_admin":false},"labels":[{"id":196857093,"url":"https://api.github.com/repos/facebook/jest/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-04T00:09:50Z","updated_at":"2016-12-08T19:12:03Z","closed_at":"2016-12-08T00:33:16Z","pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/2213","html_url":"https://github.com/facebook/jest/pull/2213","diff_url":"https://github.com/facebook/jest/pull/2213.diff","patch_url":"https://github.com/facebook/jest/pull/2213.patch"},"body":"**Summary**\r\n\r\nJasmine has [some special values with asymmetric equality](https://jasmine.github.io/edge/introduction#section-Matching_Anything_with_<code>jasmine.any</code>). Currently, everything works fine with Jest as well, but it is not documented and causes troubles like this: https://github.com/facebookincubator/create-react-app/pull/1127\r\n\r\nAdding this as a part of Jest public API will encourage people to use this feature in cases like [that](https://github.com/facebook/jest/issues/2202) and also will open this for future improvements in developer experience with equality check of big objects."},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/265827045","html_url":"https://github.com/facebook/jest/pull/2213#issuecomment-265827045","issue_url":"https://api.github.com/repos/facebook/jest/issues/2213","id":265827045,"user":{"login":"just-boris","id":812240,"avatar_url":"https://avatars.githubusercontent.com/u/812240?v=3","gravatar_id":"","url":"https://api.github.com/users/just-boris","html_url":"https://github.com/just-boris","followers_url":"https://api.github.com/users/just-boris/followers","following_url":"https://api.github.com/users/just-boris/following{/other_user}","gists_url":"https://api.github.com/users/just-boris/gists{/gist_id}","starred_url":"https://api.github.com/users/just-boris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/just-boris/subscriptions","organizations_url":"https://api.github.com/users/just-boris/orgs","repos_url":"https://api.github.com/users/just-boris/repos","events_url":"https://api.github.com/users/just-boris/events{/privacy}","received_events_url":"https://api.github.com/users/just-boris/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T19:12:03Z","updated_at":"2016-12-08T19:12:03Z","body":"Great!\r\nI have never done code-mods before, maybe I should try. Is there a place where I can contribute my code-mod? \r\n\r\n> We can also add a custom serializer to pretty-format inside of Jest. If you can think of a way to pretty print and detect them, please send us another PR.\r\n\r\nYes, of course. This is what an issue #2215 is about. I can try, but not sure, when I get time for it."}}
{"actor":{"display_login":"just-boris"}}