mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
18 lines
405 B
Bash
Executable file
18 lines
405 B
Bash
Executable file
#!/bin/bash
|
|
set -e;
|
|
|
|
MOCHA="node_modules/.bin/mocha --recursive --reporter spec --timeout 15000"
|
|
|
|
$MOCHA "$@" test/acceptance/js
|
|
|
|
# TODO: Module acceptance tests are hard to get working,
|
|
# because they typically require the server to be instantiated
|
|
# with a different config.
|
|
|
|
# for dir in modules/*;
|
|
# do
|
|
# if [ -d $dir/test/acceptance/js ]; then
|
|
# $MOCHA "$@" $dir/test/acceptance/js
|
|
# fi
|
|
# done
|
|
|