From aca1dc57d77ea0055b562d098e26b123e24f8688 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Mon, 28 Oct 2013 10:01:27 +0400 Subject: [PATCH] taking $PATH into account when launching tests --- test/start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/start.sh b/test/start.sh index d3f035368..a616f9ee3 100755 --- a/test/start.sh +++ b/test/start.sh @@ -1,8 +1,9 @@ #!/bin/sh CWD=$(pwd) +PATH='../node_modules/.bin':$PATH TESTDIR=$(dirname $0) cd $TESTDIR -../node_modules/mocha/bin/mocha -R list --ui exports ./tests.js +mocha -R list --ui exports ./tests.js cd $CWD