emotion-js / emotion

👩‍🎤 CSS-in-JS library designed for high performance style composition
https://emotion.sh/
MIT License
17.33k stars 1.1k forks source link

Is react-testing-library/shallow supported? #3005

Open xinyifly opened 1 year ago

xinyifly commented 1 year ago

The problem

Proposed solution

Add a jest serializer for react-testing-library/shallow , similar to enzyme-serializer .

Additional context

Shallow Renderer

Andarist commented 1 year ago

This is the first time that this has been raised as an issue. I think that it's fair thing to say that the audience for this would be extremely small.

xinyifly commented 1 year ago

@Andarist Let's wait and collect thumbs after people searched this issue. It seems that enzyme isn't supporting React 17 and later. This might be more desirable in the future.