Automatically "test" the Storybook

We use the storybook in our React project. Sometimes we break something in it (usually when we reorganize and do something like moving a file). The Storybook will still work correctly, but when you open it, you will get a big red card for the error.

Is there any command line method (without crazy with PhantomJS or something else) so that we can connect to our pretack to make sure we don't break the Storybook (at least at a high level)?

+4
source share
2 answers
+1

, pre-push (git push --no-verify)

pre-receive . , QA-, push , , .

QA-, TDD- , , JSX.

0

Source: https://habr.com/ru/post/1663773/


All Articles