{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/7255","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/7255/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/7255/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/7255/events","html_url":"https://github.com/facebook/jest/pull/7255","id":373192694,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MTgwNDUw","number":7255,"title":"Test results errored","user":{"login":"palmerj3","id":18503,"node_id":"MDQ6VXNlcjE4NTAz","avatar_url":"https://avatars3.githubusercontent.com/u/18503?v=4","gravatar_id":"","url":"https://api.github.com/users/palmerj3","html_url":"https://github.com/palmerj3","followers_url":"https://api.github.com/users/palmerj3/followers","following_url":"https://api.github.com/users/palmerj3/following{/other_user}","gists_url":"https://api.github.com/users/palmerj3/gists{/gist_id}","starred_url":"https://api.github.com/users/palmerj3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmerj3/subscriptions","organizations_url":"https://api.github.com/users/palmerj3/orgs","repos_url":"https://api.github.com/users/palmerj3/repos","events_url":"https://api.github.com/users/palmerj3/events{/privacy}","received_events_url":"https://api.github.com/users/palmerj3/received_events","type":"User","site_admin":false},"labels":[{"id":847426897,"node_id":"MDU6TGFiZWw4NDc0MjY4OTc=","url":"https://api.github.com/repos/facebook/jest/labels/cla%20signed","name":"cla signed","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T20:43:13Z","updated_at":"2018-10-24T07:08:39Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/7255","html_url":"https://github.com/facebook/jest/pull/7255","diff_url":"https://github.com/facebook/jest/pull/7255.diff","patch_url":"https://github.com/facebook/jest/pull/7255.patch"},"body":"## Summary\r\n\r\nThis change updates the reporters API so test status can be 'failure' or 'error'.\r\nA failure classification would be for assertions and known errors. An error classification would be if a test failed to run or for uncaught/unexpected errors.\r\n\r\n## Test plan\r\n\r\nExisting tests pass. \r\nLooking for feedback on how to properly test this with automated tests. I think a reporter test will work if we can have a jest-circus only reporter test."},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/432538835","html_url":"https://github.com/facebook/jest/pull/7255#issuecomment-432538835","issue_url":"https://api.github.com/repos/facebook/jest/issues/7255","id":432538835,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjUzODgzNQ==","user":{"login":"mattphillips","id":5610087,"node_id":"MDQ6VXNlcjU2MTAwODc=","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},"created_at":"2018-10-24T07:08:39Z","updated_at":"2018-10-24T07:08:39Z","author_association":"COLLABORATOR","body":"Interesting change! One thing to note, this couples a user to only being able to use `expect` as their assertion library. \r\n\r\nCurrently you can use anything that throws, I.e. `chai`, and it will correctly report the test as failed. \r\n\r\nI like the idea behind this of distinguishing between errored tests and failures, I’m just not sure how best to separate the two 🤔"}}
{"actor":{"display_login":"mattphillips"}}