storybook/lib/cli/test/run_tests.sh
2017-08-30 02:47:15 +03:00

21 lines
166 B
Bash
Executable File

#!/bin/bash
set -e -x
cd ..
yarn unlink
yarn link
cd test
rm -rf run
cp -r fixtures run
cd run
for dir in *
do
cd $dir
getstorybook
cd ..
done
echo SUCCESS