You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to test my gallery component which is customized a bit, and I wasn't able to create correct snapshot with Jest and @testing-library/react. I was struggling and thinking that there's something wrong with my code, but finally I've created very simple reproduction repo that shows that there's something wrong with generating snapshots:
Just noticed that same situation applies to server side rendering. I assume this lib uses document or window to order images correctly, but I'm wondering if it could render just plain layout on server side?
Hello!
I've tried to test my gallery component which is customized a bit, and I wasn't able to create correct snapshot with Jest and @testing-library/react. I was struggling and thinking that there's something wrong with my code, but finally I've created very simple reproduction repo that shows that there's something wrong with generating snapshots:
https://github.com/c0dester/react-photo-gallery-testing-library
Could you point me to the right direction with this?
The text was updated successfully, but these errors were encountered: