How to use jest-emotion and react-testing-library to Test Emotion Component Styling

added by JavaScript Kicks
3/8/2019 5:20:28 AM

287 Views

There are times where an animation can only be achieved by a component always being rendered. This could drive important business logic, however there may not be an easy way to test this when paired with a CSS-in-JS library like Emotion.


0 comments