Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show object-diffs for failed tests #457

Closed
pe3 opened this issue Aug 17, 2016 · 3 comments
Closed

Show object-diffs for failed tests #457

pe3 opened this issue Aug 17, 2016 · 3 comments

Comments

@pe3
Copy link

pe3 commented Aug 17, 2016

I'm having a look at Jest testing on 0.3.0-alpha. Would it be possible to have react-scripts display object-diffs for failed tests? I mean something like what expect-jsx does for jsx-diffs:

screenshot

I believe it would help selling the idea of testing to newcommers. And it would make eyeing for diffs in nested object structures effortless.

@gaearon
Copy link
Contributor

gaearon commented Aug 17, 2016

Yes, we are specifically holding off 0.3.0 to give Jest some time to fix usability issues like this. @cpojer and @DmitriiAbramov are working hard on fixing this and a dozen other things right now.

@gaearon gaearon closed this as completed Aug 17, 2016
@cpojer
Copy link
Contributor

cpojer commented Aug 17, 2016

We are working on it: jestjs/jest#1439

@pe3
Copy link
Author

pe3 commented Aug 17, 2016

Great. Looking forward to it!

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants