acceptance_test 405 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -e;
  3. MOCHA="node_modules/.bin/mocha --recursive --reporter spec --timeout 15000"
  4. $MOCHA "$@" test/acceptance/js
  5. # TODO: Module acceptance tests are hard to get working,
  6. # because they typically require the server to be instantiated
  7. # with a different config.
  8. # for dir in modules/*;
  9. # do
  10. # if [ -d $dir/test/acceptance/js ]; then
  11. # $MOCHA "$@" $dir/test/acceptance/js
  12. # fi
  13. # done