yarn test --watchAll
yarn storybook
yarn start
With the Storyshots addon a snapshot test is created for each of the stories. Use it by adding the following development dependencies:
yarn add -D @storybook/addon-storyshots react-test-renderer
yarn test --watchAll
yarn storybook
yarn start
With the Storyshots addon a snapshot test is created for each of the stories. Use it by adding the following development dependencies:
yarn add -D @storybook/addon-storyshots react-test-renderer