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:
parent
b9d5066f82
commit
aca1dc57d7
1 changed files with 2 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
PATH='../node_modules/.bin':$PATH
|
||||||
TESTDIR=$(dirname $0)
|
TESTDIR=$(dirname $0)
|
||||||
cd $TESTDIR
|
cd $TESTDIR
|
||||||
../node_modules/mocha/bin/mocha -R list --ui exports ./tests.js
|
mocha -R list --ui exports ./tests.js
|
||||||
cd $CWD
|
cd $CWD
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue