mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 11:04:12 -05:00
14 lines
217 B
Bash
Executable file
14 lines
217 B
Bash
Executable file
#!/bin/bash
|
|
set -e;
|
|
|
|
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec"
|
|
|
|
$MOCHA "$@" test/unit/js
|
|
|
|
for dir in modules/*;
|
|
do
|
|
if [ -d $dir/test/unit/js ]; then
|
|
$MOCHA "$@" $dir/test/unit/js
|
|
fi
|
|
done
|
|
|