Re:Storybook 6.0 your new favourite tool for front-end devel...
by mikewhy on Wednesday August 12, 2020 @05:16PM
(#24137082)
I 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).
Re:Storybook 6.0 your new favourite tool for front-end devel...
by sthomas1618 on Thursday August 13, 2020 @01:50AM
(#24140317)
I've never understood snapshot tests either. My team tried them early on but abandoned them quickly. Whats the value in them?
Re:Storybook 6.0 your new favourite tool for front-end devel...
by thrownaway954 on Wednesday August 12, 2020 @02:26PM
(#24135138)
when suggesting a complementary or competing tool... it is best to add a link to it.
Hot take: Delete your snapshot tests. Use Chromatic instead.