mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
15 lines
210 B
Text
15 lines
210 B
Text
|
#!/bin/bash
|
||
|
set -e;
|
||
|
|
||
|
MOCHA="node_modules/.bin/mocha --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
|
||
|
|