strapi/scripts/test.sh

9 lines
180 B
Bash
Raw Normal View History

#!/bin/sh
set -e
if [ -z "$TEST_GREP" ]; then
TEST_GREP=""
fi
2017-06-15 13:33:14 +02:00
node node_modules/mocha/bin/_mocha `scripts/_get-test-directories.sh` --opts test/mocha.opts --grep "$TEST_GREP"