0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

taking $PATH into account when launching tests

This commit is contained in:
Alex Kocharin 2013-10-28 10:01:27 +04:00
parent b9d5066f82
commit aca1dc57d7

View file

@ -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