jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.27k stars 6.46k forks source link

Support a single line terse version of each matcher fail #2444

Closed orta closed 7 years ago

orta commented 7 years ago

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

An error currently is an extensive multi-line string (example) wherein jest-editor-support will try to convert this into a single line issue with varying amounts of success.

What is the expected behavior?

Ideally, a tweet length version of an error is a separate piece of data in the results, so that Code & Nuclide can show errors inline.

cpojer commented 7 years ago

Would you also like that to be actually tweeted?

orta commented 7 years ago

That would be pretty awesome "@orta-test-fails: 'Expected: { a: "thing" } Received: { b: "thing" }'"

Mix that with a markov chain generator, and you've got a funky bot to follow.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.