Combining Snapshot Testing and Storybook
Learn how you can use both Storybook and snapshot to track the components in a better way.
We'll cover the following
Reflecting changes in Storybook
The snapshot tests show us if anything has changed in the components and then show the differences with some context around the changed lines. However, to actually see the impact on the website, we need to go to Storybook.
Try it yourself
In the widget below, click the “Run” button and open the link in the widget below once the server has started running, to see the changes.
Get hands-on with 1200+ tech skills courses.