4 ms·
In addition to Storybook, their Chromatic product is amazing. Hot take: Delete your snapshot tests. Use Chromatic instead.
by sthomas1618 6y ago
In addition to Storybook, their Chromatic product is amazing.
Hot take: Delete your snapshot tests. Use Chromatic instead.
- thrownaway954 6y agowhen suggesting a complementary or competing tool... it is best to add a link to it. https://www.chromatic.com/ https://www.chromatic.com/
- mikewhy 6y agoI would love for someone to give examples of how snapshot / storyshot testing actually helped. Always seemed like the dollar-store version of screenshot diffing, with extra baggage kept around the source tree, added maintenance, and seemingly worthless tests. (No, `expect(<MyComponent />).toMatchSnapshot()` is not a good test).
- sthomas1618 6y agoI've never understood snapshot tests either. My team tried them early on but abandoned them quickly. Whats the value in them?