test-cov.sh 147 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. jestArgs="--coverage"
  4. if [ -n "$CI" ]; then
  5. jestArgs="${jestArgs} --maxWorkers=4 --ci"
  6. fi
  7. node_modules/.bin/jest $jestArgs