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

proper serialization of css prop #275

Open
havenchyk opened this issue Nov 5, 2019 · 1 comment
Open

proper serialization of css prop #275

havenchyk opened this issue Nov 5, 2019 · 1 comment

Comments

@havenchyk
Copy link

It's mostly a question.

I use jest-styled-components with @testing-library/react and snapshots are looking really cool, but I didn't find a way to serialize css prop of styled-components in snapshots, so it looks ugly with css='...' in snapshots as well.

Is it possible at all to have serialized css somehow better like it's done for classes?

@fabb
Copy link

fabb commented Jan 12, 2020

Interesting, I do not get the css prop styles in the snapshot at all on styled components: #250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants