Open ForbesLindesay opened 7 years ago
This is another very good point, thanks @ForbesLindesay. At the moment we are rendering the components on the client and passing the rendered tree to an endpoint which takes the snapshots, therefore we don't have access to the Stylesheet. But it's definitely something worth experimenting.
I don't know how much work it would be, but I'd love to see something like https://github.com/styled-components/jest-styled-components integrated into snapguidist, so I can actually review the diffs to class names, rather than just having to trust that they're correct.