mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05: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
|
|
|