storybook/lib/cli/test/test_latest_cra.sh
2018-10-31 22:40:44 +01:00

15 lines
232 B
Bash
Executable File

#!/bin/bash
# exit on error
set -e
# remove and recreate `cra-fixtures` directory
rm -rfd cra-fixtures
mkdir cra-fixtures
cd cra-fixtures
npx create-react-app react-scripts-latest-fixture
cd ..
./run_tests.sh -f cra-fixtures $@