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)?
Try the following: https://github.com/mthuret/storybook-addon-specifications
, . .
, pre-push (git push --no-verify)
pre-push
git push --no-verify
pre-receive . , QA-, push , , .
QA-, TDD- , , JSX.
Source: https://habr.com/ru/post/1663773/More articles:How to clone and add multiple elements using jQuery? - javascriptHow do I unit test mapDispatchToProps in Redux? - unit-testingБлокировка в JavaScript и внутренних функциях - javascriptWhy is File.read ('/ path / to / file') not in Ruby docs? - ruby | fooobar.comReplace multiple characters using replace () - pythonHow to use activity with Android in React Native - androidОбрезать изображение с исправленным искажением в OpenCV (Python) - pythonРазбор JSON-формата с jq - jsonPerform LU decomposition without rotation in MATLAB - matrixDecomposition LU of rectangular matrices - rAll Articles