strapi/scripts/test.sh
Alberto Maturano 154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00

9 lines
180 B
Bash

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