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

chore: use jest-serializer-raw for react-fresh snapshots #15806

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Jun 3, 2019

As mentioned in https://github.com/facebook/react/pull/15733/files#r289843934. I personally find the snapshots easier to read without the escaped junk

Zero hard feelings if you disagree, this took less than 5 minutes to put together 🙂

@sizebot
Copy link

sizebot commented Jun 3, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

@gaearon
Copy link
Collaborator

gaearon commented Jun 3, 2019

Why isn't this the default?

@gaearon gaearon merged commit fa1e8df into facebook:master Jun 3, 2019
@SimenB SimenB deleted the raw-snapshot-fresh branch June 3, 2019 21:59
@SimenB
Copy link
Contributor Author

SimenB commented Jun 3, 2019

Not sure... There is jestjs/jest#2482 which implemented the current behavior and jestjs/jest#4183 which tried to fix it, although I don't remember why it stalled

gaearon pushed a commit to gaearon/react that referenced this pull request Jun 19, 2019
rickhanlonii pushed a commit to rickhanlonii/react that referenced this pull request Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants