Skip to content

Commit

Permalink
(pouchdb#232) Allow passing options to mocha
Browse files Browse the repository at this point in the history
This lets you pass `debug` or mocha flags when running unit tests.
  • Loading branch information
reconbot authored and gr2m committed Jun 9, 2017
1 parent 3144faa commit 7515730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
./packages/node_modules/pouchdb-server/bin/pouchdb-server -m -n -p 5984 $SERVER_ARGS &
POUCHDB_SERVER_PID=$!

COUCH_HOST=http://localhost:5984 TIMEOUT=120000 mocha ./tests/**/*
COUCH_HOST=http://localhost:5984 TIMEOUT=120000 mocha ./tests/**/* $1

EXIT_STATUS=$?
if [[ ! -z $POUCHDB_SERVER_PID ]]; then
Expand Down

0 comments on commit 7515730

Please sign in to comment.