babel/scripts/test-cov.sh
2018-03-03 10:58:19 +01:00

11 lines
144 B
Bash
Executable File

#!/bin/bash
set -e
jestArgs="--coverage"
if [ -n "$CI" ]; then
jestArgs="${jestArgs} --runInBand --ci"
fi
node_modules/.bin/jest $jestArgs