Created
April 17, 2018 22:21
-
-
Save outofambit/50f03b02fae2cda9937688bbfb3ab9d6 to your computer and use it in GitHub Desktop.
Debug script for manually running a test directory with mocha. Useful if there are node exceptions in some files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/bash | |
for i in $( ls test ); do | |
npx mocha test/$i &> /dev/null | |
if [[ $? != 0 ]]; then | |
echo $i | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment