#!/bin/bash

set -e

ROOTDIR="$( cd "$( dirname "$0")" && pwd )"

cd $ROOTDIR
mocha -t 120000 --reporter spec testsuite.js

exit $?

#!/bin/bash

set -e

ROOTDIR="$( cd "$( dirname "$0")" && pwd )"

cd $ROOTDIR
../node_modules/.bin/mocha -t 120000 --reporter spec testsuite.js

exit $?

Use local mocha.js binary (instead of relying it to be in the $PATH)
Use local mocha.js binary (instead of relying it to be in the $PATH)
