babel/scripts/test.sh
Sebastian McKenzie c76536be90 fix test coverage
2015-07-16 15:46:31 +01:00

9 lines
175 B
Bash
Executable File

#!/bin/sh
set -e
if [ -z "$TEST_GREP" ]; then
TEST_GREP=""
fi
node node_modules/mocha/bin/_mocha `scripts/_get-test-directories.sh` --opts mocha.opts --grep "$TEST_GREP"