Created by: tarikhamilton
jsdom isn't ideal (or suitable?) for testing component style, but it isn't super obvious as it really isn't explicitly stated anywhere in create-react-app, jest, or react-testing-library docs.
CRA is designed to get people started with React and is somewhat of a closed system with it not exposing its webpack config, so I think it is useful to explicitly state that it isn't supported out of the box, as well as a nice nudge to encourage someone to try a different approach.
I know there are ways to do it, but it seemed out of scope, which is why I stuck to this simple caveat.
It's a harmless addition that could save someone time. Maybe this was just a "me" problem, but I tripped up on it enough to want to add this to the docs, and I've used CRA for years (just never tried to test a style!). Thoughts?